Builds boot-test-harness.img, if INSTALLED_BOOTIMAGE_TARGET.
Similar to commit Ic887ea93d4c5181eca0f82c3cdf3ce3b72f4c185 for boot-debug.img, we should also only build boot-test-harness.img if boot.img exists. Bug: 184365242 Test: tree hugger Change-Id: Ie0d9e460905d488e418cf4ee1bd44e6e7c58470d
This commit is contained in:
parent
b5bff9a4d3
commit
1ed0fd54dc
1 changed files with 2 additions and 0 deletions
|
@ -2527,6 +2527,7 @@ endif # BUILDING_RAMDISK_IMAGE
|
||||||
#
|
#
|
||||||
# Note: it's intentional to skip signing for boot-test-harness.img, because it
|
# Note: it's intentional to skip signing for boot-test-harness.img, because it
|
||||||
# can only be used if the device is unlocked with verification error.
|
# can only be used if the device is unlocked with verification error.
|
||||||
|
ifneq ($(INSTALLED_BOOTIMAGE_TARGET),)
|
||||||
ifneq ($(strip $(TARGET_NO_KERNEL)),true)
|
ifneq ($(strip $(TARGET_NO_KERNEL)),true)
|
||||||
|
|
||||||
ifneq ($(strip $(BOARD_KERNEL_BINARIES)),)
|
ifneq ($(strip $(BOARD_KERNEL_BINARIES)),)
|
||||||
|
@ -2567,6 +2568,7 @@ bootimage_test_harness-nodeps: $(MKBOOTIMG) $(BOARD_GKI_SIGNING_KEY_PATH) $(AVBT
|
||||||
$(foreach b,$(INSTALLED_TEST_HARNESS_BOOTIMAGE_TARGET),$(call build-boot-test-harness-target,$b))
|
$(foreach b,$(INSTALLED_TEST_HARNESS_BOOTIMAGE_TARGET),$(call build-boot-test-harness-target,$b))
|
||||||
|
|
||||||
endif # TARGET_NO_KERNEL
|
endif # TARGET_NO_KERNEL
|
||||||
|
endif # INSTALLED_BOOTIMAGE_TARGET
|
||||||
endif # BOARD_BUILD_SYSTEM_ROOT_IMAGE is not true
|
endif # BOARD_BUILD_SYSTEM_ROOT_IMAGE is not true
|
||||||
|
|
||||||
# Creates a compatibility symlink between two partitions, e.g. /system/vendor to /vendor
|
# Creates a compatibility symlink between two partitions, e.g. /system/vendor to /vendor
|
||||||
|
|
Loading…
Reference in a new issue