sm6150-common: TARGET_KERNEL_APPEND_DTB handling

Set TARGET_KERNEL_APPEND_DTB flag true or false depend on
Dyanmic partition support.

Change-Id: I02a113263315e90114575cbeda076a1154f60c14
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
This commit is contained in:
Swetha Chikkaboraiah
2019-06-28 16:51:25 +05:30
committed by Arian
parent 07f53dd2f3
commit 6c7410e835

View File

@@ -106,6 +106,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)
TARGET_KERNEL_APPEND_DTB := false
else
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