aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index ec2d82eda90d..aa76167ceb48 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -34,12 +34,14 @@ isa-y := $(isa-y)-nofpu
34endif 34endif
35endif 35endif
36 36
37cflags-$(CONFIG_CPU_SH2) := -m2 37cflags-$(CONFIG_CPU_SH2) := $(call cc-option,-m2,)
38cflags-$(CONFIG_CPU_SH2A) := -m2a $(call cc-option,-m2a-nofpu,) 38cflags-$(CONFIG_CPU_SH2A) := $(call cc-option,-m2a,) \
39cflags-$(CONFIG_CPU_SH3) := -m3 39 $(call cc-option,-m2a-nofpu,)
40cflags-$(CONFIG_CPU_SH4) := -m4 \ 40cflags-$(CONFIG_CPU_SH3) := $(call cc-option,-m3,)
41cflags-$(CONFIG_CPU_SH4) := $(call cc-option,-m4,) \
41 $(call cc-option,-mno-implicit-fp,-m4-nofpu) 42 $(call cc-option,-mno-implicit-fp,-m4-nofpu)
42cflags-$(CONFIG_CPU_SH4A) := $(call cc-option,-m4a,) $(call cc-option,-m4a-nofpu,) 43cflags-$(CONFIG_CPU_SH4A) := $(call cc-option,-m4a,) \
44 $(call cc-option,-m4a-nofpu,)
43 45
44cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb 46cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb
45cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml 47cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml