sm6150-common: Don't build Image.gz-dtb for dynamic devices

Change-Id: I44727c1ec68e0c590a91aa1f853612aa3576d4fd
This commit is contained in:
Arian 2021-04-01 00:03:47 +02:00
parent 6c7410e835
commit f60089a8b8
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -92,7 +92,6 @@ ODM_MANIFEST_FILES += $(COMMON_PATH)/configs/hidl/manifest-qva.xml
# Kernel
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_SEPARATED_DTBO := true
@ -108,8 +107,10 @@ 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