summaryrefslogtreecommitdiff
path: root/tools/make/cpu/cortex-a72.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-06-24 18:54:14 +0700
committerhathach <[email protected]>2023-06-24 18:54:14 +0700
commit086c1d4090bc3bfdcde56aed5036e3efc6d5ea9f (patch)
tree0b43c6f23b1ff3916c281fa846b79b493b15816d /tools/make/cpu/cortex-a72.mk
parenteb7fcf1b7474fd75f43b2501586c8b6b03354d41 (diff)
more CPU_CORE
Diffstat (limited to 'tools/make/cpu/cortex-a72.mk')
-rw-r--r--tools/make/cpu/cortex-a72.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/make/cpu/cortex-a72.mk b/tools/make/cpu/cortex-a72.mk
new file mode 100644
index 000000000..1b3d8da4a
--- /dev/null
+++ b/tools/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