diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-11-06 23:52:15 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-11-11 20:07:03 +0900 |
commit | fab546e6cd7aee6574472ad3239db07ee1d94c09 (patch) | |
tree | b7a8265a9754d84880cb637758ddcdac8dc3c331 /scripts/Makefile.modpost | |
parent | 521b29b6ff53aa642ca0964ad34c2ebcb8dbad14 (diff) | |
download | linux-fab546e6cd7aee6574472ad3239db07ee1d94c09.tar.gz linux-fab546e6cd7aee6574472ad3239db07ee1d94c09.tar.bz2 linux-fab546e6cd7aee6574472ad3239db07ee1d94c09.zip |
kbuild: update comments in scripts/Makefile.modpost
The comment line "When building external modules ..." explains
the same thing as "Include the module's Makefile ..." a few lines
below.
The comment "they may be used when building the .mod.c file" is no
longer true; .mod.c file is compiled in scripts/Makefile.modfinal
since commit 9b9a3f20cbe0 ("kbuild: split final module linking out
into Makefile.modfinal"). I still keep the code in case $(obj) or
$(src) is used in the external module Makefile.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.modpost')
-rw-r--r-- | scripts/Makefile.modpost | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 952fff485546..cc19b95c2116 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -67,10 +67,9 @@ __modpost: else -# When building external modules load the Kbuild file to retrieve EXTRA_SYMBOLS info ifneq ($(KBUILD_EXTMOD),) -# set src + obj - they may be used when building the .mod.c file +# set src + obj - they may be used in the modules's Makefile obj := $(KBUILD_EXTMOD) src := $(obj) |