]> git.ipfire.org Git - thirdparty/linux.git/commit - Makefile
kbuild: move CONFIG_TRIM_UNUSED_KSYMS code unneeded for external module
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 16 Mar 2018 07:37:13 +0000 (16:37 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 25 Mar 2018 17:01:23 +0000 (02:01 +0900)
commit1f50b80a093836743b5b579b3fab33eb2f6834f2
tree7a52f2b9e79e025c779966c43461963ba4af8d5f
parent07a422bb213adb7ee1afbb2347ce6922c60a558a
kbuild: move CONFIG_TRIM_UNUSED_KSYMS code unneeded for external module

The external module building does not need to parse this code because
KBUILD_MODULES is always set anyway.

Move this code inside the "ifeq ($(KBUILD_EXTMOD),) ... endif" block.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Makefile