diff --git a/core/board_config.mk b/core/board_config.mk index 120f5111fa..15a9944e10 100644 --- a/core/board_config.mk +++ b/core/board_config.mk @@ -191,7 +191,7 @@ endif define dump-public-variables $(file >$(OUT_DIR)/dump-public-variables-temp.txt,$(subst $(space),$(newline),$(.VARIABLES)))\ $(file >$(1),\ -$(foreach v, $(shell grep -he "^[A-Z][A-Z0-9_]*$$" $(OUT_DIR)/dump-public-variables-temp.txt | grep -vhe "^SOONG_"),\ +$(foreach v, $(shell grep -he "^[A-Z][A-Z0-9_]*$$" $(OUT_DIR)/dump-public-variables-temp.txt | grep -vhE "^(SOONG_.*|LOCAL_PATH|TOPDIR|PRODUCT_COPY_OUT_.*)$$"),\ $(v) := $(strip $($(v)))$(newline))) endef