forked from openkylin/platform_build
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:
commit
44f1b6c68c
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue