diff options
author | Steven J. Hill <Steven.Hill@imgtec.com> | 2014-04-24 13:03:00 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-06-03 15:19:28 -0400 |
commit | 1d61ff6a1aefa59e9c8fd09da1c03735c60edd2b (patch) | |
tree | 9d0ac40b7eba53ceed85bd606c5b906f80f2799d | |
parent | fad01e866afdbe01a1f3ec06a39c3a8b9e197014 (diff) |
MIPS: Fix MSA toolchain support detection.
The '-mmsa' option is not supported by all current compilers. Change
the detection to instead pass the option directly to the assembler.
Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Reviewed-by: Paul Burton <Paul.Burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/6835/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 60a359cfa328..78bab83db948 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -120,7 +120,7 @@ cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \ | |||
120 | -fno-omit-frame-pointer | 120 | -fno-omit-frame-pointer |
121 | 121 | ||
122 | ifeq ($(CONFIG_CPU_HAS_MSA),y) | 122 | ifeq ($(CONFIG_CPU_HAS_MSA),y) |
123 | toolchain-msa := $(call cc-option-yn,-mhard-float -mfp64 -mmsa) | 123 | toolchain-msa := $(call cc-option-yn,-mhard-float -mfp64 -Wa$(comma)-mmsa) |
124 | cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA | 124 | cflags-$(toolchain-msa) += -DTOOLCHAIN_SUPPORTS_MSA |
125 | endif | 125 | endif |
126 | 126 | ||