diff --git a/core/main.mk b/core/main.mk index 7435eb08d..7f673e9a4 100644 --- a/core/main.mk +++ b/core/main.mk @@ -1051,12 +1051,6 @@ else product_FILES := endif -ifeq (0,1) - $(info product_FILES for $(TARGET_DEVICE) ($(INTERNAL_PRODUCT)):) - $(foreach p,$(product_FILES),$(info : $(p))) - $(error done) -endif - # TODO: Remove the 3 places in the tree that use ALL_DEFAULT_INSTALLED_MODULES # and get rid of it from this list. modules_to_install := $(sort \ @@ -1443,6 +1437,12 @@ dump-products: $(dump-products) @echo Successfully dumped products +.PHONY: dump-files +dump-files: + $(info product_FILES for $(TARGET_DEVICE) ($(INTERNAL_PRODUCT)):) + $(foreach p,$(product_FILES),$(info : $(p))) + @echo Successfully dumped product file list + .PHONY: nothing nothing: @echo Successfully read the makefiles.