summaryrefslogtreecommitdiffstats
path: root/core/product.mk
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-05-30 10:22:29 -0700
committerKeun young Park <keunyoung@google.com>2012-05-30 16:03:24 -0700
commitc41c5f4e46ff8da87de593e581ac9ed27b42504b (patch)
tree8364084f65e5a2100e113758306fa320797a0000 /core/product.mk
parent82eb7082aa9b7239770f1631211a3c18b6daacfe (diff)
downloadbuild-c41c5f4e46ff8da87de593e581ac9ed27b42504b.zip
build-c41c5f4e46ff8da87de593e581ac9ed27b42504b.tar.gz
build-c41c5f4e46ff8da87de593e581ac9ed27b42504b.tar.bz2
add add-to-product-copy-files-if-exists for pdk
Change-Id: Ib35006824de81be31652bfff220bbe4e814869ce
Diffstat (limited to 'core/product.mk')
-rw-r--r--core/product.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/product.mk b/core/product.mk
index b001ca2..d9e4186 100644
--- a/core/product.mk
+++ b/core/product.mk
@@ -272,3 +272,7 @@ $(strip \
$(eval $(error The following variables have been changed: $(changed_variables))),)
)
endef
+
+define add-to-product-copy-files-if-exists
+$(if $(wildcard $(word 1,$(subst :, ,$(1)))),$(1))
+endef