Switch bootloader directory to control by build flag
Bug: 333834221 Change-Id: I503fbd2495390284958280bda7dad7b80395d9b7
This commit is contained in:
parent
034f842e84
commit
d3ebe379f9
2 changed files with 3 additions and 18 deletions
|
@ -15,15 +15,9 @@
|
|||
#
|
||||
TARGET_BOARD_INFO_FILE := device/google/tangorpro/board-info.txt
|
||||
TARGET_BOOTLOADER_BOARD_NAME := tangorpro
|
||||
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
|
||||
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
|
||||
else ifneq (,$(filter AP2%,$(RELEASE_PLATFORM_VERSION)))
|
||||
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
|
||||
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
|
||||
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q3
|
||||
else
|
||||
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
|
||||
endif
|
||||
RELEASE_GOOGLE_BOOTLOADER_TANGORPRO_DIR ?= trunk # Keep this for pdk TODO: b/327119000
|
||||
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_TANGORPRO_DIR)
|
||||
$(call soong_config_set,bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_TANGORPRO_DIR))
|
||||
|
||||
# Enable load module in parallel
|
||||
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue