mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +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)
|
ifeq ($(CONFIG_ARCH_CORTEXA5),y)
|
||||||
ARCHCPUFLAGS += -mcpu=cortex-a5
|
ARCHCPUFLAGS += -mcpu=cortex-a5
|
||||||
elif ($(CONFIG_ARCH_CORTEXA7),y)
|
else ifeq ($(CONFIG_ARCH_CORTEXA7),y)
|
||||||
ARCHCPUFLAGS += -mcpu=cortex-a7
|
ARCHCPUFLAGS += -mcpu=cortex-a7
|
||||||
elif ($(CONFIG_ARCH_CORTEXA8),y)
|
else ifeq ($(CONFIG_ARCH_CORTEXA8),y)
|
||||||
ARCHCPUFLAGS += -mcpu=cortex-a8
|
ARCHCPUFLAGS += -mcpu=cortex-a8
|
||||||
elif ($(CONFIG_ARCH_CORTEXA9),y)
|
else ifeq ($(CONFIG_ARCH_CORTEXA9),y)
|
||||||
ARCHCPUFLAGS += -mcpu=cortex-a9
|
ARCHCPUFLAGS += -mcpu=cortex-a9
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user