BugID:16813529:Change for XM510, Add compile for
ARM_GNU_ARCH_LIST := ARM968E-S \
+ Cortex-A5 \
+ Cortex-A7 \
Cortex-A9
THUMB_GNU_ARCH_LIST := Cortex-M0 \
@@ -259,6 +261,14 @@ CPU_ASMFLAGS := $(CPU_CFLAGS)
CPU_LDFLAGS := -mthumb -mcpu=cortex-m7 -Wl,-A,thumb
endif
+ifeq ($(HOST_ARCH),Cortex-A5)
+CPU_BASE_FLAGS := -Wall -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mtune=cortex-a5 -mcpu=cortex-a5 -mthumb-interwork -marm
+CPU_CFLAGS := $(CPU_BASE_FLAGS)
+CPU_CXXFLAGS := $(CPU_BASE_FLAGS)
+CPU_ASMFLAGS := $(CPU_BASE_FLAGS)
+CPU_LDFLAGS := $(CPU_BASE_FLAGS)
+endif
+
# $(1) is map file, $(2) is CSV output file
COMPILER_SPECIFIC_MAPFILE_TO_CSV = $(PYTHON) $(MAPFILE_PARSER) $(1) > $(2)
