]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 30 Jul 2019 15:59:00 +0000 (00:59 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 31 Jul 2019 15:09:49 +0000 (00:09 +0900)
commit386ae248dca1666a9a38209f9992ef81e06f5d73
treea7e76452017edce2a4829fa6c116b64d82aaa140
parent00623c84885f84133af454928377bbfde04d3d38
kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules

KBUILD_EXTRA_SYMBOLS makes sense only when building external modules.
Moreover, the modpost sets 'external_module' if the -e option is given.

I replaced $(patsubst %, -e %,...) with simpler $(addprefix -e,...)
while I was here.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/Makefile.modpost