commit | f295b9ab64394e45aa2c35362b24012cb0e17074 | [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:50:14 2019 +0200 |
tree | 31fcb362d2d3cafa40999fc6e234c8affe3b53e0 | |
parent | ddc47dc28e163a27fe93ff0619b9b354388025af [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>