summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2010-05-30 16:26:40 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 14:25:44 +0200
commit66f9ba101f54bda63ab1db97f9e9e94763d0651b (patch)
tree5f7f16a2fa212641a7adb259f67ac2f85bdf8bcc /arch/mips/math-emu/Makefile
parentMIPS: Introduce arch/mips/Kbuild (diff)
downloadlinux-66f9ba101f54bda63ab1db97f9e9e94763d0651b.tar.xz
linux-66f9ba101f54bda63ab1db97f9e9e94763d0651b.zip
MIPS: Add -Werror to arch/mips/Kbuild
Adding subdirs-ccflags-y := -Werror to arch/mips/Kbuild let us in one go cover all files with -Werror. In addition this allows us to remove the individual -Werror definition in various Makefile. Adding the definition to Kbuild as a recursive option help us not to forget to do so. With this change we now compile arch/mips/kernel/cpufreq with -Werror One drawback: When specifying a subdirectory covered by the Kbuild file like this: make arch/mips/kernel/ then kbuild fails to pick up the -Werror definition. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> To: linux-mips <linux-mips@linux-mips.org> To: Wu Zhangjin <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/1301/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/Makefile')
-rw-r--r--arch/mips/math-emu/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/math-emu/Makefile b/arch/mips/math-emu/Makefile
index d547efdeedc2..96607230d9ea 100644
--- a/arch/mips/math-emu/Makefile
+++ b/arch/mips/math-emu/Makefile
@@ -10,4 +10,3 @@ obj-y := cp1emu.o ieee754m.o ieee754d.o ieee754dp.o ieee754sp.o ieee754.o \
sp_scalb.o sp_simple.o sp_tint.o sp_fint.o sp_tlong.o sp_flong.o \
dp_sqrt.o sp_sqrt.o kernel_linkage.o dsemul.o
-EXTRA_CFLAGS += -Werror