diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2023-07-04 11:21:49 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2023-07-04 11:21:49 +0530 |
commit | 5ed691db185dccd7ca7012bdb76a358aa4d9c5ac (patch) | |
tree | e18808efc441b11580452e55990f4e9e5ffe72bd | |
parent | cf3116018153cb2f49ae5867f76d947cc32611a2 (diff) |
db845c/rb5: Make version 4 as the default boot image header
..unless booting with android-5.4 kernel version because
android11-5.4 do not support bootconfig.
Change-Id: I160a179983f7c4a6613e601f5c1bbfd183b6960d
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | db845c.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,11 @@ $(call inherit-product, device/linaro/dragonboard/full.mk) $(call inherit-product, device/linaro/dragonboard/db845c/device.mk) -TARGET_USES_BOOT_HDR_V3 ?= true +ifeq ($(TARGET_KERNEL_USE),5.4) + TARGET_USES_BOOT_HDR_V3 := true +else + TARGET_USES_BOOT_HDR_V3 ?= false +endif # Product overrides PRODUCT_NAME := db845c |