commit | 1c335cd18ced56dfe9470375c34199635da9dd9c | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Jul 31 00:59:00 2019 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 25 10:51:47 2019 +0200 |
tree | 0eab49ccbd206b97aadf497cb92d56b6ebf93084 | |
parent | 4f62e065a5c628d8e8bad58f3f5245dfe7f504dd [diff] |
kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules [ Upstream commit cb4819934a7f9b87876f11ed05b8624c0114551b ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>