From: Ralf Baechle Date: Sat, 18 Mar 2006 16:59:31 +0000 (+0000) Subject: [MIPS] SB1: Check for -mno-sched-prolog if building corelis debug kernel. X-Git-Tag: firefly_0821_release~37613^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9007c9a2b03ea325ee593a161dbf01dbb8222d7e;p=firefly-linux-kernel-4.4.55.git [MIPS] SB1: Check for -mno-sched-prolog if building corelis debug kernel. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/Makefile b/arch/mips/Makefile index fe9da16f3a40..3d8dac681c63 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -108,7 +108,8 @@ MODFLAGS += -mlong-calls cflags-$(CONFIG_CPU_BIG_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' && echo -EB) cflags-$(CONFIG_CPU_LITTLE_ENDIAN) += $(shell $(CC) -dumpmachine |grep -q 'mips.*el-.*' || echo -EL) -cflags-$(CONFIG_SB1XXX_CORELIS) += -mno-sched-prolog -fno-omit-frame-pointer +cflags-$(CONFIG_SB1XXX_CORELIS) += $(call cc-option,-mno-sched-prolog) \ + -fno-omit-frame-pointer # # Use: $(call set_gccflags,,,,,)