This is the first commit for the u-boot zylonite port. The following has be
[platform/kernel/u-boot.git] / config.mk
index d85ac36..2c6cfb4 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -131,6 +131,10 @@ else
 CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
 endif
 
+ifdef WILD_WILD_WEST
+CFLAGS := $(CFLAGS) -Werror
+endif
+
 # avoid trigraph warnings while parsing pci.h (produced by NIOS gcc-2.9)
 # this option have to be placed behind -Wall -- that's why it is here
 ifeq ($(ARCH),nios)