Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #227 from MDTsai/bug_1139331
Browse files Browse the repository at this point in the history
Bug 1139331 - Add PLATFORM_SDK_VERSION for partial update.zip. r=gsvelto
  • Loading branch information
seinlin committed Apr 22, 2015
2 parents f2f2f0c + 091e231 commit d3868ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Android.mk
Expand Up @@ -470,7 +470,7 @@ endef
$(PRODUCT_OUT)/$(B2G_FOTA_UPDATE_ZIP): $(B2G_FOTA_SYSTEM_FILES) $(B2G_FOTA_COMMON_TARGETS)
mkdir -p `dirname $@` || true
$(info Generating FOTA update package)
@PATH="$(B2G_FOTA_ENV_PATH)" $(B2G_FOTA_FLASH_SCRIPT) \
@PATH="$(B2G_FOTA_ENV_PATH)" PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" $(B2G_FOTA_FLASH_SCRIPT) \
$(B2G_FOTA_COMMON_VARIABLES) \
--fota-type partial \
--fota-dirs "$(B2G_FOTA_DIRS)" \
Expand All @@ -482,15 +482,15 @@ $(PRODUCT_OUT)/$(B2G_FOTA_UPDATE_ZIP): $(B2G_FOTA_SYSTEM_FILES) $(B2G_FOTA_COMMO
$(PRODUCT_OUT)/$(B2G_FOTA_UPDATE_FULL_ZIP): $(B2G_FOTA_COMMON_TARGETS)
mkdir -p `dirname $@` || true
$(info Generating full FOTA update package)
@PATH="$(B2G_FOTA_ENV_PATH)" $(B2G_FOTA_FLASH_SCRIPT) \
@PATH="$(B2G_FOTA_ENV_PATH)" PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" $(B2G_FOTA_FLASH_SCRIPT) \
$(B2G_FOTA_COMMON_VARIABLES) \
--output $@

# The fullimg target should flash as much as possible, except userdata by default.
$(PRODUCT_OUT)/$(B2G_FOTA_UPDATE_FULLIMG_ZIP): $(B2G_FOTA_COMMON_TARGETS)
mkdir -p `dirname $@` || true
$(info Generating fullimg FOTA update package)
@PATH="$(B2G_FOTA_ENV_PATH)" $(B2G_FOTA_FLASH_SCRIPT) \
@PATH="$(B2G_FOTA_ENV_PATH)" PLATFORM_SDK_VERSION="$(PLATFORM_SDK_VERSION)" $(B2G_FOTA_FLASH_SCRIPT) \
$(B2G_FOTA_COMMON_VARIABLES) \
--fota-type fullimg \
$(B2G_FOTA_FULLIMG_PARTS) \
Expand Down

0 comments on commit d3868ff

Please sign in to comment.