forked from openkylin/platform_build
Merge "Support PRODUCT_BUILD_VBMETA_IMAGE for target files"
This commit is contained in:
commit
fc65231af1
|
@ -4144,6 +4144,9 @@ ifdef BOARD_USES_VENDORIMAGE
|
|||
$(hide) echo "board_uses_vendorimage=true" >> $@
|
||||
endif
|
||||
ifeq ($(BOARD_AVB_ENABLE),true)
|
||||
ifeq ($(BUILDING_VBMETA_IMAGE),true)
|
||||
$(hide) echo "avb_building_vbmeta_image=true" >> $@
|
||||
endif # BUILDING_VBMETA_IMAGE
|
||||
$(hide) echo "avb_enable=true" >> $@
|
||||
$(hide) echo "avb_vbmeta_key_path=$(BOARD_AVB_KEY_PATH)" >> $@
|
||||
$(hide) echo "avb_vbmeta_algorithm=$(BOARD_AVB_ALGORITHM)" >> $@
|
||||
|
|
|
@ -959,6 +959,7 @@ def AddImagesToTargetFiles(filename):
|
|||
if item not in vbmeta_vendor.split()]
|
||||
vbmeta_partitions.append("vbmeta_vendor")
|
||||
|
||||
if OPTIONS.info_dict.get("avb_building_vbmeta_image") == "true":
|
||||
banner("vbmeta")
|
||||
AddVBMeta(output_zip, partitions, "vbmeta", vbmeta_partitions)
|
||||
|
||||
|
|
Loading…
Reference in New Issue