summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-30 11:48:58 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 21:35:33 +0100
commitdde96ca8b398637e2b4442e312723f66fa6a8186 (patch)
tree3e1216d6dde741d7d218ed69a35f7ed4cc7eade5 /arch/mips/kernel/Makefile
parente9c227f9ecc0ddbaa5d4d197f7ee658aa4fee67f (diff)
downloadlwn-dde96ca8b398637e2b4442e312723f66fa6a8186.tar.gz
lwn-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/Makefile')
-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