diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/cpu/sh2/config.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/cpu/sh2/config.mk b/arch/sh/cpu/sh2/config.mk index f2d40aa..f46b38f 100644 --- a/arch/sh/cpu/sh2/config.mk +++ b/arch/sh/cpu/sh2/config.mk @@ -23,6 +23,11 @@ # ENDIANNESS += -EB +ifdef CONFIG_SH2A +PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb -mno-fdpic -ffreestanding +else # SH2 PLATFORM_CPPFLAGS += -m3e -mb +endif + PLATFORM_RELFLAGS += -ffixed-r13 PLATFORM_LDFLAGS += $(ENDIANNESS) |