jn516x: added WERROR

This commit is contained in:
Simon Duquennoy 2015-10-05 12:07:49 +02:00
parent 9d7cfa8f78
commit aec8af25c0

View file

@ -48,6 +48,11 @@ LDLIBS := $(subst MiniMac_JN516x, ,$(LDLIBS))
LDLIBS += JPT_$(JENNIC_CHIP)
endif
# Warings as error
ifdef WERROR
CFLAGS += -Werror
endif
# Pass DEBUG as CFLAG
ifeq ($(DEBUG),SW)
CFLAGS += -DDEBUG=1