summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-09-27 11:31:12 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-27 11:31:12 -0700
commit2a71850eb330ae9e9b098246de09998687c4909c (patch)
tree6ddacd540cf23785d83bef3791ea55f6a587cb09 /core
parente1d6068bd7599219f1da659b79400ec675d39c34 (diff)
parentf272cd6c2290160a13917a98388af1132443098c (diff)
downloadbuild-2a71850eb330ae9e9b098246de09998687c4909c.zip
build-2a71850eb330ae9e9b098246de09998687c4909c.tar.gz
build-2a71850eb330ae9e9b098246de09998687c4909c.tar.bz2
Merge "Generate an empty target if there is no packages"
Diffstat (limited to 'core')
-rw-r--r--core/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 2a0c831..a49850e 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -234,6 +234,8 @@ $(APKCERTS_FILE):
private_key=""' >> $@;,\
echo 'name="$(p).apk" certificate="$(PACKAGES.$(p).CERTIFICATE)" \
private_key="$(PACKAGES.$(p).PRIVATE_KEY)"' >> $@;))
+ # In case $(PACKAGES) is empty.
+ $(hide) touch $@
.PHONY: apkcerts-list
apkcerts-list: $(APKCERTS_FILE)