commit | 6b2d0b05c0c385bb226755b7a7947d0fc3022fea | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Mon Feb 22 17:31:16 2010 -0800 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon Feb 22 17:31:16 2010 -0800 |
tree | 3cfa4603e4301f1852518f98477c138d21c13e9b | |
parent | 22344e760f49041a79a5b81339ff75716fee5651 [diff] | |
parent | c8d446bcde877ec94f8e68dd5af68fe34eb1b1f9 [diff] |
Merge "pass blobs to applypatch in incremental OTAs"
diff --git a/core/product.mk b/core/product.mk index 5417242..eca98ed 100644 --- a/core/product.mk +++ b/core/product.mk
@@ -101,6 +101,14 @@ $(eval ALL_PRODUCTS := $(sort $(ALL_PRODUCTS) $(word 1,$(_include_stack)))) endef + +# +# Do inherit-product only if $(1) exists +# +define inherit-product-if-exists + $(if $(wildcard $(1)),$(call inherit-product,$(1)),) +endef + # # $(1): product makefile list #