summaryrefslogtreecommitdiff
path: root/arch/mips/ddb5xxx
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/ddb5xxx
parente9c227f9ecc0ddbaa5d4d197f7ee658aa4fee67f (diff)
[MIPS] Use -Werror on subdirectories which build cleanly.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ddb5xxx')
-rw-r--r--arch/mips/ddb5xxx/common/Makefile2
-rw-r--r--arch/mips/ddb5xxx/ddb5477/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/ddb5xxx/common/Makefile b/arch/mips/ddb5xxx/common/Makefile
index bc44e3032711..2a6a4e91991c 100644
--- a/arch/mips/ddb5xxx/common/Makefile
+++ b/arch/mips/ddb5xxx/common/Makefile
@@ -3,3 +3,5 @@
#
obj-y += nile4.o prom.o rtc_ds1386.o
+
+EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/ddb5xxx/ddb5477/Makefile b/arch/mips/ddb5xxx/ddb5477/Makefile
index 4864b8a659c7..520094405905 100644
--- a/arch/mips/ddb5xxx/ddb5477/Makefile
+++ b/arch/mips/ddb5xxx/ddb5477/Makefile
@@ -7,3 +7,5 @@ obj-y += ddb5477-platform.o irq.o irq_5477.o setup.o \
obj-$(CONFIG_RUNTIME_DEBUG) += debug.o
obj-$(CONFIG_KGDB) += kgdb_io.o
+
+EXTRA_CFLAGS += -Werror