diff --git a/core/main.mk b/core/main.mk index eea083030..c5067b14e 100644 --- a/core/main.mk +++ b/core/main.mk @@ -1435,6 +1435,11 @@ modules: @echo "$(call module-names-for-tag-list,$(ALL_MODULE_TAGS))" | \ tr -s ' ' '\n' | sort -u | $(COLUMN) +.PHONY: dump-products +dump-products: + $(dump-products) + @echo Successfully dumped products + .PHONY: nothing nothing: @echo Successfully read the makefiles. diff --git a/core/product_config.mk b/core/product_config.mk index c5d182a3a..7cbea915a 100644 --- a/core/product_config.mk +++ b/core/product_config.mk @@ -243,11 +243,6 @@ $(foreach makefile,$(ARTIFACT_PATH_REQUIREMENT_PRODUCTS),\ # Sanity check $(check-all-products) -ifneq ($(filter dump-products, $(MAKECMDGOALS)),) -$(dump-products) -$(error done) -endif - # Convert a short name like "sooner" into the path to the product # file defining that product. #