aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaes Elgemark <claes.elgemark@sonymobile.com>2015-04-01 11:29:29 +0200
committerYing Wang <wangying@google.com>2015-08-26 10:07:16 -0700
commit8d771971212069f77851163f437c782f581bf6db (patch)
tree496f723543c6faa2c6d9bb7cf9928bbea82e8aee
parentfc028e59c2bc36297f23cdf2ee4fe9b1b60aa1cd (diff)
downloadbuild-8d771971212069f77851163f437c782f581bf6db.tar.gz
Don't fail build of otatools if there are no device certificates
Bug: 23552169 Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index 670c581784..f9ba1d8c2e 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1293,7 +1293,7 @@ $(BUILT_OTATOOLS_PACKAGE): \
$(hide) rm -rf $@ $(zip_root)/releasetools/*.pyc
$(hide) (cd $(zip_root) && zip -qry $(abspath $@) bin framework releasetools)
$(hide) zip -qry $(abspath $@) build/target/product/security/
- $(hide) find device vendor -name \*.pk8 -o -name \*.x509.pem | xargs zip -qry $(abspath $@)
+ $(hide) find device vendor -name \*.pk8 -o -name \*.x509.pem | xargs zip -qry $(abspath $@)>/dev/null || true
.PHONY: otatools-package
otatools-package: $(BUILT_OTATOOLS_PACKAGE)