]> git.sur5r.net Git - u-boot/blobdiff - config.mk
New board directory and config for the benq delta board (copied from
[u-boot] / config.mk
index 0f104398c27fc1cacc6474d1a11e605fa45a1006..2c6cfb4b3ce8416ff696dece936d96d4787783e2 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -91,7 +91,7 @@ HOSTSTRIP     = strip
 # only supported compiler options are used
 #
 cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
-             > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
+               > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
 
 #
 # Include the make variables (CC, etc...)
@@ -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)