diff options
author | leozwang <leozwang@google.com> | 2015-06-17 00:29:33 -0700 |
---|---|---|
committer | leozwang <leozwang@google.com> | 2015-06-20 21:05:19 -0700 |
commit | 92eb5703e5fb63ff54590361065caadbedca2708 (patch) | |
tree | 5276f16dcdec0a5dc592c1cf50d904295e92db3f /core/tasks/tools | |
parent | 5aa6832e6b5dc4274066346f4dbab93c17145577 (diff) | |
download | build-92eb5703e5fb63ff54590361065caadbedca2708.zip build-92eb5703e5fb63ff54590361065caadbedca2708.tar.gz build-92eb5703e5fb63ff54590361065caadbedca2708.tar.bz2 |
Add BUILD NUMBER into oem image.
Change-Id: If2e1903a44fc033eecb1564aa423cd60b3c86fcb
Diffstat (limited to 'core/tasks/tools')
-rw-r--r-- | core/tasks/tools/build_custom_image.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/tasks/tools/build_custom_image.mk b/core/tasks/tools/build_custom_image.mk index e59ed42..4dc86aa 100644 --- a/core/tasks/tools/build_custom_image.mk +++ b/core/tasks/tools/build_custom_image.mk @@ -100,6 +100,8 @@ $(my_built_custom_image): $(INTERNAL_USERIMAGES_DEPS) $(my_built_modules) $(my_i $(hide) echo "# Properties from $(PRIVATE_DICT_FILE)" >> $(PRIVATE_INTERMEDIATES)/image_info.txt;\ cat $(PRIVATE_DICT_FILE) >> $(PRIVATE_INTERMEDIATES)/image_info.txt) # Generate the image. + $(if $(filter oem,$(PRIVATE_MOUNT_POINT)), \ + $(hide) echo "oem.buildnumber=$(BUILD_NUMBER)" >> $(PRIVATE_STAGING_DIR)/oem.prop) $(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH \ ./build/tools/releasetools/build_image.py \ $(PRIVATE_STAGING_DIR) $(PRIVATE_INTERMEDIATES)/image_info.txt $@ |