From 5296307de63f1949d601b3515f8b1a0a859c5847 Mon Sep 17 00:00:00 2001
From: Paul Mundt <lethal@linux-sh.org>
Date: Sat, 7 Jul 2007 07:25:56 +0900
Subject: sh: Drop -Wa,-dsp for DSP tuning.

We already hand off the proper ISA variant with the dsp specifier
appended, so we don't need to explicitly set -dsp. This causes some
confusion with certain toolchains that are restricted to -dsp family
opcodes artificially.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 arch/sh/Makefile | 2 --
 1 file changed, 2 deletions(-)

(limited to 'arch/sh/Makefile')

diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index 211d9e01807..c7a8e1f0c6b 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -48,8 +48,6 @@ cflags-$(CONFIG_CPU_LITTLE_ENDIAN)	+= -ml
 
 cflags-y	+= $(call as-option,-Wa$(comma)-isa=$(isa-y),) -ffreestanding
 
-cflags-$(CONFIG_SH_DSP)			+= -Wa,-dsp
-
 cflags-$(CONFIG_MORE_COMPILE_OPTIONS)	+= \
 	$(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')
 
-- 
cgit v1.2.3-18-g5258