summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-30 12:48:58 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 22:35:33 +0200
commitdde96ca8b398637e2b4442e312723f66fa6a8186 (patch)
tree3e1216d6dde741d7d218ed69a35f7ed4cc7eade5 /arch/mips/kernel
parent[MIPS] Yosemite: Fix warning. (diff)
downloadlinux-dde96ca8b398637e2b4442e312723f66fa6a8186.tar.xz
linux-dde96ca8b398637e2b4442e312723f66fa6a8186.zip
[MIPS] Use -Werror on subdirectories which build cleanly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
index 5c8085b6d7ab..07344cb37596 100644
--- a/arch/mips/kernel/Makefile
+++ b/arch/mips/kernel/Makefile
@@ -71,3 +71,5 @@ obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
CFLAGS_cpu-bugs64.o = $(shell if $(CC) $(CFLAGS) -Wa,-mdaddi -c -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-DHAVE_AS_SET_DADDI"; fi)
obj-$(CONFIG_HAVE_STD_PC_SERIAL_PORT) += 8250-platform.o
+
+EXTRA_CFLAGS += -Werror