Revert^2 "gs101: re-enable prebuilt boot.img/boot-user.img usage" am: 0f9dfceecf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15955989 Change-Id: I7c8b9f308b778c0a02bf1fc126a33f73c035faac
This commit is contained in:
commit
7f64bf00c4
1 changed files with 10 additions and 1 deletions
|
@ -53,8 +53,17 @@ BOARD_KERNEL_CMDLINE += stack_depot_disable=off page_pinner=on
|
||||||
BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs
|
BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs
|
||||||
|
|
||||||
TARGET_NO_BOOTLOADER := true
|
TARGET_NO_BOOTLOADER := true
|
||||||
TARGET_NO_KERNEL := false
|
|
||||||
TARGET_NO_RADIOIMAGE := true
|
TARGET_NO_RADIOIMAGE := true
|
||||||
|
ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
|
||||||
|
BOARD_PREBUILT_BOOTIMAGE := $(wildcard $(TARGET_KERNEL_DIR)/boot.img)
|
||||||
|
else
|
||||||
|
BOARD_PREBUILT_BOOTIMAGE := $(wildcard $(TARGET_KERNEL_DIR)/boot-user.img)
|
||||||
|
endif
|
||||||
|
ifneq (,$(BOARD_PREBUILT_BOOTIMAGE))
|
||||||
|
TARGET_NO_KERNEL := true
|
||||||
|
else
|
||||||
|
TARGET_NO_KERNEL := false
|
||||||
|
endif
|
||||||
BOARD_USES_GENERIC_KERNEL_IMAGE := true
|
BOARD_USES_GENERIC_KERNEL_IMAGE := true
|
||||||
BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT := true
|
BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT := true
|
||||||
BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT := true
|
BOARD_MOVE_GSI_AVB_KEYS_TO_VENDOR_BOOT := true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue