Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5296307d authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent ac6b9f28
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -48,8 +48,6 @@ cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += -ml


cflags-y	+= $(call as-option,-Wa$(comma)-isa=$(isa-y),) -ffreestanding
cflags-y	+= $(call as-option,-Wa$(comma)-isa=$(isa-y),) -ffreestanding


cflags-$(CONFIG_SH_DSP)			+= -Wa,-dsp

cflags-$(CONFIG_MORE_COMPILE_OPTIONS)	+= \
cflags-$(CONFIG_MORE_COMPILE_OPTIONS)	+= \
	$(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')
	$(shell echo $(CONFIG_COMPILE_OPTIONS) | sed -e 's/"//g')