[DEV] add a debug flag
This commit is contained in:
parent
b3962202f4
commit
22c1c9d197
@ -100,6 +100,7 @@ TARGET_GLOBAL_CFLAGS += -DBUILD_TIME="\"$(shell date +%Y-%m-%d_%T)\""
|
|||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
TARGET_GLOBAL_CFLAGS += -DDEBUG_LEVEL=3
|
TARGET_GLOBAL_CFLAGS += -DDEBUG_LEVEL=3
|
||||||
|
TARGET_GLOBAL_CFLAGS += -DDEBUG=1
|
||||||
ifeq ("$(OPTIMISE)","1")
|
ifeq ("$(OPTIMISE)","1")
|
||||||
TARGET_GLOBAL_CFLAGS += -O2
|
TARGET_GLOBAL_CFLAGS += -O2
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user