sm6150-common: Remove deprecated TARGET_KERNEL_APPEND_DTB
Background: https://review.lineageos.org/#/c/192397/ Change-Id: I7ed989a418799442bf92eedff6453a77f39f19ad
This commit is contained in:
parent
a7aad8d60e
commit
dedce30a14
@ -87,21 +87,13 @@ BOARD_KERNEL_CMDLINE += service_locator.enable=1
|
||||
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
|
||||
BOARD_KERNEL_CMDLINE += loop.max_part=7
|
||||
|
||||
# TARGET_KERNEL_APPEND_DTB handling
|
||||
ifeq ($(strip $(PRODUCT_USE_DYNAMIC_PARTITIONS)),true)
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz
|
||||
TARGET_KERNEL_APPEND_DTB := false
|
||||
else
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||
TARGET_KERNEL_APPEND_DTB := true
|
||||
endif
|
||||
|
||||
# Set header version for bootimage
|
||||
ifneq ($(strip $(TARGET_KERNEL_APPEND_DTB)),true)
|
||||
# Enable DTB in bootimage and set header version
|
||||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true
|
||||
BOARD_BOOTIMG_HEADER_VERSION := 2
|
||||
else
|
||||
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
|
||||
BOARD_BOOTIMG_HEADER_VERSION := 1
|
||||
endif
|
||||
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user