diff options
author | Paul Mundt <lethal@linux-sh.org> | 2005-05-02 13:21:50 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2005-05-02 13:21:50 +0000 |
commit | e8a91ad371ce69db303c27e46e25c6f12fc3cfdf (patch) | |
tree | ef340fb7e052b6d8024da8329564c1b851e95833 /Rules.mak | |
parent | 51d16a55069c65229522a2244697341018f4d17e (diff) |
Add sh2a support.
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -167,7 +167,13 @@ ifeq ($(strip $(TARGET_ARCH)),sh) CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mb CPU_CFLAGS-$(CONFIG_SH2)+=-m2 CPU_CFLAGS-$(CONFIG_SH3)+=-m3 +ifeq ($(strip $(UCLIBC_HAS_FLOATS)),y) + CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a CPU_CFLAGS-$(CONFIG_SH4)+=-m4 +else + CPU_CFLAGS-$(CONFIG_SH2A)+=-m2a-nofpu + CPU_CFLAGS-$(CONFIG_SH4)+=-m4-nofpu +endif endif ifeq ($(strip $(TARGET_ARCH)),sh64) |