Application.mk: Provide a default ZIGELFFLAGS if not defined

Avoid add ZIGELFFLAGS to each board level Make.defs by default value.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
Huang Qi 2023-01-31 15:09:21 +08:00 committed by Xiang Xiao
parent f4e29f376d
commit a275567ad0

View File

@ -93,6 +93,10 @@ ifneq ($(BUILD_MODULE),y)
OBJS += $(MAINCOBJ) $(MAINCXXOBJ) $(MAINRUSTOBJ) $(MAINZIGOBJ)
endif
# Compile flags
ZIGELFFLAGS ?= $(ZIGFLAGS)
DEPPATH += --dep-path .
DEPPATH += --obj-path .