summaryrefslogtreecommitdiff
path: root/examples/build_system/make/cpu/cortex-a72.mk
diff options
context:
space:
mode:
Diffstat (limited to 'examples/build_system/make/cpu/cortex-a72.mk')
-rw-r--r--examples/build_system/make/cpu/cortex-a72.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/build_system/make/cpu/cortex-a72.mk b/examples/build_system/make/cpu/cortex-a72.mk
new file mode 100644
index 000000000..1b3d8da4a
--- /dev/null
+++ b/examples/build_system/make/cpu/cortex-a72.mk
@@ -0,0 +1,12 @@
+ifeq ($(TOOLCHAIN),gcc)
+ CFLAGS += \
+ -mcpu=cortex-a72 \
+
+else ifeq ($(TOOLCHAIN),iar)
+ CFLAGS += \
+ --cpu cortex-a72 \
+
+ ASFLAGS += \
+ --cpu cortex-a72 \
+
+endif