OSDN Git Service

'make dump-products' to dump products.
authorYing Wang <wangying@google.com>
Wed, 3 Nov 2010 06:04:24 +0000 (23:04 -0700)
committerYing Wang <wangying@google.com>
Wed, 3 Nov 2010 06:04:24 +0000 (23:04 -0700)
Change-Id: I6a1e7ce5d54f47898199bfc9d29245c2598f733c

core/product_config.mk

index 70ac894..433fae2 100644 (file)
@@ -194,8 +194,11 @@ else
   $(call import-products, $(get-all-product-makefiles))
 endif # TARGET_BUILD_APPS
 $(check-all-products)
-#$(dump-products)
-#$(error done)
+
+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.