diff --git a/core/board_config.mk b/core/board_config.mk index d3f0493a6c..5606964950 100644 --- a/core/board_config.mk +++ b/core/board_config.mk @@ -237,6 +237,7 @@ else .KATI_READONLY := TARGET_DEVICE_DIR endif +$(call dump-phase-start,BOARD,,,, build/make/core/board_config.mk) ifndef RBC_PRODUCT_CONFIG include $(board_config_mk) else @@ -261,6 +262,7 @@ else include $(OUT_DIR)/rbc/rbc_board_config_results.mk endif +$(call dump-phase-end, build/make/core/board_config.mk) ifneq (,$(and $(TARGET_ARCH),$(TARGET_ARCH_SUITE))) $(error $(board_config_mk) erroneously sets both TARGET_ARCH and TARGET_ARCH_SUITE) diff --git a/core/dumpconfig.mk b/core/dumpconfig.mk index 640fe10f9c..eb4c822dc5 100644 --- a/core/dumpconfig.mk +++ b/core/dumpconfig.mk @@ -56,7 +56,7 @@ BUILD_DATETIME_FILE := $(OUT_DIR)/build_date.txt # Escape quotation marks for CSV, and wraps in quotation marks. define escape-for-csv -"$(subst ","",$1)" +"$(subst ","",$(subst $(newline), ,$1))" endef # Args: @@ -68,7 +68,7 @@ endef # Args: # $(1): include stack define dump-import-done -$(eval $(file >> $(DUMPCONFIG_FILE),imported,$(strip $(1)))) +$(eval $(file >> $(DUMPCONFIG_FILE),imported,$(strip $(1)),$(filter-out $(1),$(MAKEFILE_LIST)))) endef # Args: