diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-19 01:54:20 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-21 12:14:11 -0400 |
commit | 2ff2b7ec65dcea2261bdf404654975f44ad6323d (patch) | |
tree | 43ef958cd89c58f0d02c132d97302b7df03eb98a /arch/Kconfig | |
parent | a564bdeb5e0d79dbcebb9a138e7b9f2d7ed97df9 (diff) |
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>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index a7b57dd42c26..7d7b1b6af851 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -289,6 +289,13 @@ config ARCH_32BIT_OFF_T | |||
289 | still support 32-bit off_t. This option is enabled for all such | 289 | still support 32-bit off_t. This option is enabled for all such |
290 | architectures explicitly. | 290 | architectures explicitly. |
291 | 291 | ||
292 | config HAVE_ASM_MODVERSIONS | ||
293 | bool | ||
294 | help | ||
295 | This symbol should be selected by an architecure if it provides | ||
296 | <asm/asm-prototypes.h> to support the module versioning for symbols | ||
297 | exported from assembly code. | ||
298 | |||
292 | config HAVE_REGS_AND_STACK_ACCESS_API | 299 | config HAVE_REGS_AND_STACK_ACCESS_API |
293 | bool | 300 | bool |
294 | help | 301 | help |