From a275567ad04f31ad6efd600344efd7f1a95bf28a Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Tue, 31 Jan 2023 15:09:21 +0800 Subject: [PATCH] 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 --- Application.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Application.mk b/Application.mk index 3541dd100..158007549 100644 --- a/Application.mk +++ b/Application.mk @@ -93,6 +93,10 @@ ifneq ($(BUILD_MODULE),y) OBJS += $(MAINCOBJ) $(MAINCXXOBJ) $(MAINRUSTOBJ) $(MAINZIGOBJ) endif +# Compile flags + +ZIGELFFLAGS ?= $(ZIGFLAGS) + DEPPATH += --dep-path . DEPPATH += --obj-path .