Allow setting --boot_variable_file in build-ota-package-target
For ota generation via build-ota-package-target, match how --oem_settings works, but for --boot_variable_file. Bug: 335732867 Test: Set BOOT_VAR_OTA_CONFIG, make dist, and check ota_metadata Change-Id: I526e2b280eb288f3abaace2a5daac97a0f7ac6d7
This commit is contained in:
parent
527363c906
commit
f089d9a587
1 changed files with 1 additions and 0 deletions
|
@ -6919,6 +6919,7 @@ PATH=$(INTERNAL_USERIMAGES_BINARY_PATHS):$(dir $(ZIP2ZIP)):$$PATH \
|
|||
--verbose \
|
||||
--path $(HOST_OUT) \
|
||||
$(if $(OEM_OTA_CONFIG), --oem_settings $(OEM_OTA_CONFIG)) \
|
||||
$(if $(BOOT_VAR_OTA_CONFIG), --boot_variable_file $(BOOT_VAR_OTA_CONFIG)) \
|
||||
$(2) \
|
||||
$(patsubst %.zip,%,$(BUILT_TARGET_FILES_PACKAGE)) $(1)
|
||||
endef
|
||||
|
|
Loading…
Reference in a new issue