summaryrefslogtreecommitdiff
path: root/BoardConfig-common.mk
diff options
context:
space:
mode:
authorRobin Peng <robinpeng@google.com>2022-11-04 06:49:05 +0000
committerRobin Peng <robinpeng@google.com>2022-11-04 06:49:05 +0000
commit0272b56e053e78def99aaee26a89407cbee54abb (patch)
tree5737b2bde3899870925bc585f966864302dcf004 /BoardConfig-common.mk
parentd9c9199c8363c6e61a211e3d556240e129e9abd8 (diff)
downloadgs201-0272b56e053e78def99aaee26a89407cbee54abb.tar.gz
gs201: remove prebuilt boot-user.img usage
When $(TARGET_KERNEL_DIR) contains: * boot.img then use those as prebuilt boot images for the target build. Bug: 242812258 Change-Id: I10ccfaacfc77cc37eee085b27575fae515ceb088
Diffstat (limited to 'BoardConfig-common.mk')
-rw-r--r--BoardConfig-common.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk
index 20ce92c..bb2910a 100644
--- a/BoardConfig-common.mk
+++ b/BoardConfig-common.mk
@@ -58,11 +58,7 @@ BOARD_BOOTCONFIG += androidboot.boot_devices=14700000.ufs
TARGET_NO_BOOTLOADER := 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