Revert "Revert "Allow to override fastboot-info.txt for specific..."
Revert submission 2871792-revert-2871156-fastboot_info-UVHXWCTZZB Reason for revert: Some images weren't available in Android.mk Reverted changes: /q/submissionid:2871792-revert-2871156-fastboot_info-UVHXWCTZZB Bug: 315866782 Test: confirmed bluejay abtd build has correct fastboot-info.txt Change-Id: Id75d879119744ab97225e5a551e8d32a1b09a356 Signed-off-by: Dmitrii Merkurev <dimorinny@google.com>
This commit is contained in:
@@ -5626,7 +5626,12 @@ endif # build_otatools_package
|
|||||||
FASTBOOT_INFO_VERSION = 1
|
FASTBOOT_INFO_VERSION = 1
|
||||||
|
|
||||||
INSTALLED_FASTBOOT_INFO_TARGET := $(PRODUCT_OUT)/fastboot-info.txt
|
INSTALLED_FASTBOOT_INFO_TARGET := $(PRODUCT_OUT)/fastboot-info.txt
|
||||||
|
ifdef TARGET_BOARD_FASTBOOT_INFO_FILE
|
||||||
|
$(INSTALLED_FASTBOOT_INFO_TARGET): $(TARGET_BOARD_FASTBOOT_INFO_FILE)
|
||||||
|
rm -f $@
|
||||||
|
$(call pretty,"Target fastboot-info.txt: $@")
|
||||||
|
$(hide) cp $< $@
|
||||||
|
else
|
||||||
$(INSTALLED_FASTBOOT_INFO_TARGET):
|
$(INSTALLED_FASTBOOT_INFO_TARGET):
|
||||||
rm -f $@
|
rm -f $@
|
||||||
$(call pretty,"Target fastboot-info.txt: $@")
|
$(call pretty,"Target fastboot-info.txt: $@")
|
||||||
@@ -5685,6 +5690,7 @@ endif
|
|||||||
ifeq ($(BOARD_USES_METADATA_PARTITION),true)
|
ifeq ($(BOARD_USES_METADATA_PARTITION),true)
|
||||||
$(hide) echo "if-wipe erase metadata" >> $@
|
$(hide) echo "if-wipe erase metadata" >> $@
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# misc_info.txt
|
# misc_info.txt
|
||||||
|
Reference in New Issue
Block a user