summaryrefslogtreecommitdiff
path: root/arch/mips/ddb5xxx
diff options
context:
space:
mode:
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