Generate an empty target if there is no packages

Generate an empty target even if there is no packages defined in the
source tree. Such case can happen when building in an unbundled branch.

Change-Id: Id8b94bc00557cd5ea2066859e440427474ced5f5
This commit is contained in:
Ying Wang 2011-09-26 12:05:06 -07:00
parent 3aa2c174ec
commit f272cd6c22
1 changed files with 2 additions and 0 deletions

View File

@ -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)