summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven J. Hill2013-12-05 18:37:49 +0100
committerRalf Baechle2014-01-23 13:02:35 +0100
commit40508d24e595595e5b843363482270594e4673f6 (patch)
tree69ce1236a13a323f3fc87607716d29b71bc2ec4c
parentMIPS: OCTEON: Supply OCTEON+ USB nodes in internal device trees. (diff)
downloadkernel-qcow2-linux-40508d24e595595e5b843363482270594e4673f6.tar.gz
kernel-qcow2-linux-40508d24e595595e5b843363482270594e4673f6.tar.xz
kernel-qcow2-linux-40508d24e595595e5b843363482270594e4673f6.zip
MIPS: microMIPS: Remove unsupported compiler flag.
Remove usage of -mno-jals compiler flag when building a pure microMIPS kernel. The -mno-jals flag only ever existed within Mentor toolchains. Dropping this flag allows all FSF toolchains to work. Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6200/
-rw-r--r--arch/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index de300b993607..873a0ca408ea 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -114,7 +114,7 @@ cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*e
cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL $(undef-all) $(predef-le))
cflags-$(CONFIG_CPU_HAS_SMARTMIPS) += $(call cc-option,-msmartmips)
-cflags-$(CONFIG_CPU_MICROMIPS) += $(call cc-option,-mmicromips -mno-jals)
+cflags-$(CONFIG_CPU_MICROMIPS) += $(call cc-option,-mmicromips)
cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \
-fno-omit-frame-pointer