summaryrefslogtreecommitdiffstats
path: root/arch/sh/Makefile
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-11-20 07:28:47 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 10:42:54 +0100
commit8bcc5c1c332af97ba731f99fda780a47911e476f (patch)
tree74ecf190dd5552b6048acb610e005f944849de4d /arch/sh/Makefile
parentsh: Add exports for __udivsi3/__sdivsi3 and the _i4 versions. (diff)
downloadlinux-8bcc5c1c332af97ba731f99fda780a47911e476f.tar.xz
linux-8bcc5c1c332af97ba731f99fda780a47911e476f.zip
sh: Add -m4al tuning for SH4AL-DSP.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Makefile')
-rw-r--r--arch/sh/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 227207b9b7a0..fac1567b2afb 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -32,6 +32,7 @@ cflags-$(CONFIG_CPU_SH4) := $(call cc-option,-m4,) \
$(call cc-option,-mno-implicit-fp,-m4-nofpu)
cflags-$(CONFIG_CPU_SH4A) += $(call cc-option,-m4a,) \
$(call cc-option,-m4a-nofpu,)
+cflags-$(CONFIG_CPU_SH4AL_DSP) += $(call cc-option,-m4al,)
cflags-$(CONFIG_CPU_SH5) := $(call cc-option,-m5-32media-nofpu,)
cflags-$(CONFIG_CPU_BIG_ENDIAN) += -mb