summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-06-01 07:57:08 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-06-06 16:38:12 +0200
commite3fb4df7fe4e8636de32a1e4ff5ebc75257f5570 (patch)
tree29bf32c1215b1b55dc22a5bc0275a3fab0580c10 /scripts/Makefile.modpost
parentmodpost: rename ext_sym_list to dump_list (diff)
downloadlinux-e3fb4df7fe4e8636de32a1e4ff5ebc75257f5570.tar.xz
linux-e3fb4df7fe4e8636de32a1e4ff5ebc75257f5570.zip
modpost: re-add -e to set external_module flag
Previously, the -i option had two functions; load a symbol dump file, and set the external_module flag. I want to assign a dedicate option for each of them. Going forward, the -i is used to load a symbol dump file, and the -e to set the external_module flag. With this, we will be able to use -i for loading in-kernel symbols. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/Makefile.modpost')
-rw-r--r--scripts/Makefile.modpost4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index 7e07adab929c..4d79afe997ad 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -79,6 +79,10 @@ src := $(obj)
# Include the module's Makefile to find KBUILD_EXTRA_SYMBOLS
include $(if $(wildcard $(KBUILD_EXTMOD)/Kbuild), \
$(KBUILD_EXTMOD)/Kbuild, $(KBUILD_EXTMOD)/Makefile)
+
+# modpost option for external modules
+MODPOST += -e
+
endif
# modpost options for modules (both in-kernel and external)