]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] SB1: Check for -mno-sched-prolog if building corelis debug kernel.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 18 Mar 2006 16:59:31 +0000 (16:59 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 18 Mar 2006 16:59:31 +0000 (16:59 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Makefile

index fe9da16f3a4012ecafd867f6f9ad5c6a3284b59e..3d8dac681c6352de5aab10e7a19deff067ae24c3 100644 (file)
@@ -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,<cpu0>,<isa0>,<cpu1>,<isa1>,<isa2>)