Don't fail build of otatools if there are no device certificates

Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6
This commit is contained in:
Claes Elgemark 2015-04-01 11:29:29 +02:00 committed by Johan Redestig
parent 24a71e1565
commit ed1158e01f
1 changed files with 1 additions and 1 deletions

View File

@ -1295,7 +1295,7 @@ $(BUILT_OTATOOLS_PACKAGE): \
$(hide) rm -rf $@ $(zip_root)/releasetools/*.pyc
$(hide) (cd $(zip_root) && zip -qry $(abspath $@) bin framework releasetools $(otatools_lib_path))
$(hide) zip -qry $(abspath $@) build/target/product/security/
$(hide) find device vendor -name \*.pk8 -o -name \*.x509.pem -o -name oem.prop | xargs zip -qry $(abspath $@)
$(hide) find device vendor -name \*.pk8 -o -name \*.x509.pem -o -name oem.prop | xargs zip -qry $(abspath $@)>/dev/null || true
.PHONY: otatools-package
otatools-package: $(BUILT_OTATOOLS_PACKAGE)