aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-11-22 13:29:55 -0800
committerDoug Zongker <dougz@google.com>2013-11-22 13:29:55 -0800
commit816d73f9ebfef7829ca60d9199a8b609cb1cb0cf (patch)
treef9fa6c1ed2273bd3407a128080984fc391385aa6
parent96f56b6fcbe21c2786ec985bee252e5cd5c3190b (diff)
downloadbuild-816d73f9ebfef7829ca60d9199a8b609cb1cb0cf.tar.gz
store releasetools.py in the target_files zip
Save the device-specific releasetools.py module in the target_files zip so that the OTA tools can use it without needing to get it from a client. Change-Id: I2dd5f4628290a8f2f56bd519b07d4ca8d92fddcd
-rw-r--r--core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile
index 298eef1c8e..d7602a55e0 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -1243,6 +1243,7 @@ endif
@# build them.
$(hide) mkdir -p $(zip_root)/META
$(hide) $(ACP) $(APKCERTS_FILE) $(zip_root)/META/apkcerts.txt
+ $(hide) if test -e $(tool_extensions)/releasetools.py; then $(ACP) $(tool_extensions)/releasetools.py $(zip_root)/META/; fi
$(hide) echo "$(PRODUCT_OTA_PUBLIC_KEYS)" > $(zip_root)/META/otakeys.txt
$(hide) echo "recovery_api_version=$(PRIVATE_RECOVERY_API_VERSION)" > $(zip_root)/META/misc_info.txt
$(hide) echo "fstab_version=$(PRIVATE_RECOVERY_FSTAB_VERSION)" >> $(zip_root)/META/misc_info.txt