summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-07-17 18:59:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-07-17 18:59:05 +0000
commitcf0c9fe4e3dbf05c2b2b78677e8a19ed134031e7 (patch)
treece07dfb36ab986221b7b8bd63d9aa91ff89d721f
parentf70f12a826af862db617f59d85d33cecbbb1be45 (diff)
parent5ed691db185dccd7ca7012bdb76a358aa4d9c5ac (diff)
Merge "db845c/rb5: Make version 4 as the default boot image header" into main
-rw-r--r--db845c.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/db845c.mk b/db845c.mk
index e949af1..ea61e1e 100644
--- a/db845c.mk
+++ b/db845c.mk
@@ -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