mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
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:
committed by
Arian
parent
07f53dd2f3
commit
6c7410e835
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user