sm6150-common: Remove deprecated TARGET_KERNEL_APPEND_DTB

Background: https://review.lineageos.org/#/c/192397/

Change-Id: I7ed989a418799442bf92eedff6453a77f39f19ad
This commit is contained in:
Sam Mortimer 2017-10-17 10:07:19 -07:00 committed by Arian
parent a7aad8d60e
commit dedce30a14

View File

@ -87,21 +87,13 @@ BOARD_KERNEL_CMDLINE += service_locator.enable=1
BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1 BOARD_KERNEL_CMDLINE += lpm_levels.sleep_disabled=1
BOARD_KERNEL_CMDLINE += loop.max_part=7 BOARD_KERNEL_CMDLINE += loop.max_part=7
# TARGET_KERNEL_APPEND_DTB handling
ifeq ($(strip $(PRODUCT_USE_DYNAMIC_PARTITIONS)),true) ifeq ($(strip $(PRODUCT_USE_DYNAMIC_PARTITIONS)),true)
BOARD_KERNEL_IMAGE_NAME := Image.gz 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 # Enable DTB in bootimage and set header version
BOARD_INCLUDE_DTB_IN_BOOTIMG := true BOARD_INCLUDE_DTB_IN_BOOTIMG := true
BOARD_BOOTIMG_HEADER_VERSION := 2 BOARD_BOOTIMG_HEADER_VERSION := 2
else else
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
BOARD_BOOTIMG_HEADER_VERSION := 1 BOARD_BOOTIMG_HEADER_VERSION := 1
endif endif
BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION) BOARD_MKBOOTIMG_ARGS := --header_version $(BOARD_BOOTIMG_HEADER_VERSION)