Don't fail build of otatools if there are no device certificates
Bug: 23552169
Change-Id: I32723701d952ef2243ce0234132fa9876f0f21b6
(cherry picked from commit 8d77197121
)
This commit is contained in:
committed by
Baligh Uddin
parent
22ff0124fd
commit
5b08efb73f
@@ -1302,7 +1302,7 @@ $(BUILT_OTATOOLS_PACKAGE): \
|
|||||||
$(hide) rm -rf $@ $(zip_root)/releasetools/*.pyc
|
$(hide) rm -rf $@ $(zip_root)/releasetools/*.pyc
|
||||||
$(hide) (cd $(zip_root) && zip -qry $(abspath $@) bin framework releasetools)
|
$(hide) (cd $(zip_root) && zip -qry $(abspath $@) bin framework releasetools)
|
||||||
$(hide) zip -qry $(abspath $@) build/target/product/security/
|
$(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
|
.PHONY: otatools-package
|
||||||
otatools-package: $(BUILT_OTATOOLS_PACKAGE)
|
otatools-package: $(BUILT_OTATOOLS_PACKAGE)
|
||||||
|
Reference in New Issue
Block a user