Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ff2b7ec authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent a564bdeb
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -289,6 +289,13 @@ config ARCH_32BIT_OFF_T
	  still support 32-bit off_t. This option is enabled for all such
	  architectures explicitly.

config HAVE_ASM_MODVERSIONS
	bool
	help
	  This symbol should be selected by an architecure if it provides
	  <asm/asm-prototypes.h> to support the module versioning for symbols
	  exported from assembly code.

config HAVE_REGS_AND_STACK_ACCESS_API
	bool
	help
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ config ALPHA
	select PCI_DOMAINS if PCI
	select PCI_SYSCALL if PCI
	select HAVE_AOUT
	select HAVE_ASM_MODVERSIONS
	select HAVE_IDE
	select HAVE_OPROFILE
	select HAVE_PCSPKR_PLATFORM
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ config ARM64
	select HAVE_ARCH_TRANSPARENT_HUGEPAGE
	select HAVE_ARCH_VMAP_STACK
	select HAVE_ARM_SMCCC
	select HAVE_ASM_MODVERSIONS
	select HAVE_EBPF_JIT
	select HAVE_C_RECORDMCOUNT
	select HAVE_CMPXCHG_DOUBLE
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ config IA64
	select FORCE_PCI if (!IA64_HP_SIM)
	select PCI_DOMAINS if PCI
	select PCI_SYSCALL if PCI
	select HAVE_ASM_MODVERSIONS
	select HAVE_UNSTABLE_SCHED_CLOCK
	select HAVE_EXIT_THREAD
	select HAVE_IDE
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ config M68K
	select DMA_DIRECT_REMAP if HAS_DMA && MMU && !COLDFIRE
	select HAVE_IDE
	select HAVE_AOUT if MMU
	select HAVE_ASM_MODVERSIONS
	select HAVE_DEBUG_BUGVERBOSE
	select GENERIC_IRQ_SHOW
	select GENERIC_ATOMIC64
Loading