summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 7270bf13d..04a69af3d 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -405,6 +405,12 @@ ifeq ($(TARGET_ARCH),arm)
CPU_CFLAGS-$(COMPILE_IN_THUMB_MODE)+=-mthumb
endif
+ifeq ($(TARGET_ARCH),metag)
+ SYMBOL_PREFIX=_
+ CPU_CFLAGS-$(CONFIG_META_1_2)+=
+ CPU_CFLAGS-$(CONFIG_META_2_1)+=-Wa,-mcpu=metac21
+endif
+
ifeq ($(TARGET_ARCH),mips)
OPTIMIZATION+=-mno-split-addresses
CPU_CFLAGS-$(CONFIG_MIPS_ISA_1)+=-mips1