kbuild: add CONFIG_ASM_MODVERSIONS
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 19 Aug 2019 05:54:20 +0000 (14:54 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Aug 2019 16:14:11 +0000 (01:14 +0900)
commit2ff2b7ec65dcea2261bdf404654975f44ad6323d
tree43ef958cd89c58f0d02c132d97302b7df03eb98a
parenta564bdeb5e0d79dbcebb9a138e7b9f2d7ed97df9
kbuild: add CONFIG_ASM_MODVERSIONS

Add CONFIG_ASM_MODVERSIONS. This allows to remove one if-conditional
nesting in scripts/Makefile.build.

scripts/Makefile.build is run every time Kbuild descends into a
sub-directory. So, I want to avoid $(wildcard ...) evaluation
where possible although computing $(wildcard ...) is so cheap that
it may not make measurable performance difference.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
14 files changed:
arch/Kconfig
arch/alpha/Kconfig
arch/arm64/Kconfig
arch/ia64/Kconfig
arch/m68k/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
arch/riscv/Kconfig
arch/s390/Kconfig
arch/sparc/Kconfig
arch/um/Kconfig
arch/x86/Kconfig
init/Kconfig
scripts/Makefile.build