mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
modpost: move -d option in scripts/Makefile.modpost
Collect options for modules into a single place. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
467b82d7ce
commit
859c926aea
1 changed files with 1 additions and 3 deletions
|
@ -62,9 +62,6 @@ __modpost: vmlinux.symvers
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
MODPOST += \
|
|
||||||
$(if $(KBUILD_NSDEPS),-d $(MODULES_NSDEPS))
|
|
||||||
|
|
||||||
ifeq ($(KBUILD_EXTMOD),)
|
ifeq ($(KBUILD_EXTMOD),)
|
||||||
|
|
||||||
input-symdump := vmlinux.symvers
|
input-symdump := vmlinux.symvers
|
||||||
|
@ -91,6 +88,7 @@ endif
|
||||||
# modpost options for modules (both in-kernel and external)
|
# modpost options for modules (both in-kernel and external)
|
||||||
MODPOST += \
|
MODPOST += \
|
||||||
$(addprefix -i ,$(wildcard $(input-symdump))) \
|
$(addprefix -i ,$(wildcard $(input-symdump))) \
|
||||||
|
$(if $(KBUILD_NSDEPS),-d $(MODULES_NSDEPS)) \
|
||||||
$(if $(CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS)$(KBUILD_NSDEPS),-N)
|
$(if $(CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS)$(KBUILD_NSDEPS),-N)
|
||||||
|
|
||||||
# 'make -i -k' ignores compile errors, and builds as many modules as possible.
|
# 'make -i -k' ignores compile errors, and builds as many modules as possible.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue