summaryrefslogtreecommitdiffstats
path: root/core/Makefile
diff options
context:
space:
mode:
authorYing Wang <wangying@android.com>2013-08-19 14:29:32 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-19 14:29:32 -0700
commita3ee330ac52e188c9545c022552572e0e9541577 (patch)
tree0475940ad3bc969448eb9d135d5b21a6e3e32e8b /core/Makefile
parent03fb7473c4e21b2ae1ce9d31596416dc921c565f (diff)
parentfa67740ae41fc068d9a9b5fbf5a7a06c36dbbdb1 (diff)
downloadbuild-a3ee330ac52e188c9545c022552572e0e9541577.zip
build-a3ee330ac52e188c9545c022552572e0e9541577.tar.gz
build-a3ee330ac52e188c9545c022552572e0e9541577.tar.bz2
am fa67740a: am 25977365: Merge "mkbootimg: Support custom mkbootimg implementation"
* commit 'fa67740ae41fc068d9a9b5fbf5a7a06c36dbbdb1': mkbootimg: Support custom mkbootimg implementation
Diffstat (limited to 'core/Makefile')
-rw-r--r--core/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile
index cf22b11..41fcc6c 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1291,7 +1291,8 @@ $(INTERNAL_OTA_PACKAGE_TARGET): KEY_CERT_PAIR := $(DEFAULT_KEY_CERT_PAIR)
$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
@echo "Package OTA: $@"
- $(hide) ./build/tools/releasetools/ota_from_target_files -v \
+ $(hide) MKBOOTIMG=$(BOARD_CUSTOM_MKBOOTIMG) \
+ ./build/tools/releasetools/ota_from_target_files -v \
-p $(HOST_OUT) \
-k $(KEY_CERT_PAIR) \
$(BUILT_TARGET_FILES_PACKAGE) $@
@@ -1319,7 +1320,8 @@ endif
$(INTERNAL_UPDATE_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(DISTTOOLS)
@echo "Package: $@"
- $(hide) ./build/tools/releasetools/img_from_target_files -v \
+ $(hide) MKBOOTIMG=$(BOARD_CUSTOM_MKBOOTIMG) \
+ ./build/tools/releasetools/img_from_target_files -v \
-s $(extensions) \
-p $(HOST_OUT) \
$(BUILT_TARGET_FILES_PACKAGE) $@