summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-10-18 16:04:41 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-02-27 12:52:56 +0100
commitc55736af449ad2b2cd1a9471dc6e5413d89a1ece (patch)
treee041961afdf122c900df0993605b3d03c6de4beb
parentMIPS: Alchemy: Fix warnings in DB1x00 / PB1000 / PB1550 board setup code (diff)
downloadlinux-c55736af449ad2b2cd1a9471dc6e5413d89a1ece.tar.xz
linux-c55736af449ad2b2cd1a9471dc6e5413d89a1ece.zip
MIPS: Alchemy: Turn on -Werror for devboards and xss1500
Warnings being suppressed, we can now turn on -Werror for boards which did not have it already (devboards and xss1500). Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/alchemy/devboards/Makefile2
-rw-r--r--arch/mips/alchemy/xxs1500/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/alchemy/devboards/Makefile b/arch/mips/alchemy/devboards/Makefile
index cfda9721142b..c74ef80b92fc 100644
--- a/arch/mips/alchemy/devboards/Makefile
+++ b/arch/mips/alchemy/devboards/Makefile
@@ -16,3 +16,5 @@ obj-$(CONFIG_MIPS_DB1500) += db1x00/
obj-$(CONFIG_MIPS_DB1550) += db1x00/
obj-$(CONFIG_MIPS_BOSPORUS) += db1x00/
obj-$(CONFIG_MIPS_MIRAGE) += db1x00/
+
+EXTRA_CFLAGS += -Werror
diff --git a/arch/mips/alchemy/xxs1500/Makefile b/arch/mips/alchemy/xxs1500/Makefile
index 68671c2f372c..4dc81d794cb8 100644
--- a/arch/mips/alchemy/xxs1500/Makefile
+++ b/arch/mips/alchemy/xxs1500/Makefile
@@ -6,3 +6,5 @@
#
lib-y := init.o board_setup.o platform.o
+
+EXTRA_CFLAGS += -Werror