From 6c7410e835d9b98b7159023d239cdf1e9a2d2eb9 Mon Sep 17 00:00:00 2001 From: Swetha Chikkaboraiah Date: Fri, 28 Jun 2019 16:51:25 +0530 Subject: [PATCH] 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 --- BoardConfigCommon.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 9ed0981..380fb5a 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -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