mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
libc/machine/arm: Use the correct arch Kconfig for variant check
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
baabe5e08a
commit
edca49fb5f
@@ -3,26 +3,27 @@
|
||||
# see the file kconfig-language.txt in the NuttX tools repository.
|
||||
#
|
||||
|
||||
if ARCH_ARM7TDMI || ARCH_ARM920T || ARCH_ARM926EJS
|
||||
if ARCH_ARM7TDMI || ARCH_ARM920T || ARCH_ARM926EJS || \
|
||||
ARCH_ARM1136J || ARCH_ARM1156T2 || ARCH_ARM1176JZ
|
||||
source libs/libc/machine/arm/arm/Kconfig
|
||||
endif
|
||||
|
||||
if ARCH_CORTEXA5 || ARCH_CORTEXA8 || ARCH_CORTEXA9
|
||||
if ARCH_ARMV7A
|
||||
source libs/libc/machine/arm/armv7-a/Kconfig
|
||||
endif
|
||||
|
||||
if ARCH_CORTEXR4 || ARCH_CORTEXR5 || ARCH_CORTEXR7
|
||||
if ARCH_ARMV7R
|
||||
source libs/libc/machine/arm/armv7-r/Kconfig
|
||||
endif
|
||||
|
||||
if ARCH_CORTEXM0
|
||||
if ARCH_ARMV6M
|
||||
source libs/libc/machine/arm/armv6-m/Kconfig
|
||||
endif
|
||||
|
||||
if ARCH_CORTEXM3 || ARCH_CORTEXM4 || ARCH_CORTEXM7
|
||||
if ARCH_ARMV7M
|
||||
source libs/libc/machine/arm/armv7-m/Kconfig
|
||||
endif
|
||||
|
||||
if ARCH_CORTEXM33
|
||||
if ARCH_ARMV8M
|
||||
source libs/libc/machine/arm/armv8/Kconfig
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user