commit | b3aebdd46d633d542badfb0d680eb491a001bf90 | [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:47:55 2019 +0200 |
tree | 2fbbb38381a3e841b3354e405c1db201e269e68e | |
parent | 23bc01f0d95508be2407ebf65616d73a9dbfb381 [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>