jn516x: added WERROR
This commit is contained in:
parent
9d7cfa8f78
commit
aec8af25c0
|
@ -48,6 +48,11 @@ LDLIBS := $(subst MiniMac_JN516x, ,$(LDLIBS))
|
||||||
LDLIBS += JPT_$(JENNIC_CHIP)
|
LDLIBS += JPT_$(JENNIC_CHIP)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Warings as error
|
||||||
|
ifdef WERROR
|
||||||
|
CFLAGS += -Werror
|
||||||
|
endif
|
||||||
|
|
||||||
# Pass DEBUG as CFLAG
|
# Pass DEBUG as CFLAG
|
||||||
ifeq ($(DEBUG),SW)
|
ifeq ($(DEBUG),SW)
|
||||||
CFLAGS += -DDEBUG=1
|
CFLAGS += -DDEBUG=1
|
||||||
|
|
Loading…
Reference in a new issue