mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
arch/arm/src/armv7-a/Toolchain.defs: Correct conditional logic. Was mixing C preprocess and Makefile semantics.
This commit is contained in:
@@ -102,11 +102,11 @@ endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_CORTEXA5),y)
|
||||
ARCHCPUFLAGS += -mcpu=cortex-a5
|
||||
elif ($(CONFIG_ARCH_CORTEXA7),y)
|
||||
else ifeq ($(CONFIG_ARCH_CORTEXA7),y)
|
||||
ARCHCPUFLAGS += -mcpu=cortex-a7
|
||||
elif ($(CONFIG_ARCH_CORTEXA8),y)
|
||||
else ifeq ($(CONFIG_ARCH_CORTEXA8),y)
|
||||
ARCHCPUFLAGS += -mcpu=cortex-a8
|
||||
elif ($(CONFIG_ARCH_CORTEXA9),y)
|
||||
else ifeq ($(CONFIG_ARCH_CORTEXA9),y)
|
||||
ARCHCPUFLAGS += -mcpu=cortex-a9
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user