remove remaining amend support
Remove the remaining (unused and untested) support for generating amend scripts. This means that you won't be able to OTA directly from cupcake to gingerbread. Change-Id: Iaf5295db92a42b336960d05295f48b67cb729337
This commit is contained in:
@@ -1031,17 +1031,9 @@ INTERNAL_OTA_PACKAGE_TARGET := $(PRODUCT_OUT)/$(name).zip
|
||||
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): KEY_CERT_PAIR := $(DEFAULT_KEY_CERT_PAIR)
|
||||
|
||||
ifeq ($(TARGET_OTA_SCRIPT_MODE),)
|
||||
# default to "auto"
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): scriptmode := auto
|
||||
else
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): scriptmode := $(TARGET_OTA_SCRIPT_MODE)
|
||||
endif
|
||||
|
||||
$(INTERNAL_OTA_PACKAGE_TARGET): $(BUILT_TARGET_FILES_PACKAGE) $(OTATOOLS)
|
||||
@echo "Package OTA: $@"
|
||||
$(hide) ./build/tools/releasetools/ota_from_target_files -v \
|
||||
-m $(scriptmode) \
|
||||
-p $(HOST_OUT) \
|
||||
-k $(KEY_CERT_PAIR) \
|
||||
$(BUILT_TARGET_FILES_PACKAGE) $@
|
||||
|
Reference in New Issue
Block a user