BOARD_PREBUILT_BOOTIMAGE: removes the restriction of non system-as-root am: b9af035ee7

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14551403

Change-Id: Idac0a317692522a4f523f4a5a25f3ea5730acb6b
This commit is contained in:
Bowgo Tsai 2021-05-18 01:19:45 +00:00 committed by Automerger Merge Worker
commit 44f1b6c68c
1 changed files with 0 additions and 4 deletions

View File

@ -1034,10 +1034,6 @@ endif # BUILDING_BOOT_IMAGE
else # TARGET_NO_KERNEL == "true"
ifdef BOARD_PREBUILT_BOOTIMAGE
ifneq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
# Remove when b/63676296 is resolved.
$(error Prebuilt bootimage is only supported for AB targets)
endif
INTERNAL_PREBUILT_BOOTIMAGE := $(BOARD_PREBUILT_BOOTIMAGE)
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
$(eval $(call copy-one-file,$(INTERNAL_PREBUILT_BOOTIMAGE),$(INSTALLED_BOOTIMAGE_TARGET)))