From ca30a6e8038596ff57016080d392d49bd20aead2 Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Tue, 3 Jan 2023 17:28:09 +0800 Subject: hikey960.mk: set HIKEY_USES_GKI true for mainline kernel to avoid invonvenience when forgot to set explicitly, which will cause boot failures on the adb connections Test: booted to homescreen with the mainline kernel and adb connection works Change-Id: I07e22d831a747915e7926fba584b0665c1d3f558 Signed-off-by: Yongqin Liu --- hikey960.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hikey960.mk b/hikey960.mk index 3a58d251..673181c6 100644 --- a/hikey960.mk +++ b/hikey960.mk @@ -8,6 +8,10 @@ TARGET_PREBUILT_DTB := $(LOCAL_KERNEL_HOME)/hi3660-hikey960.dtb ifndef HIKEY_USES_GKI ifeq ($(TARGET_KERNEL_USE), 5.4) HIKEY_USES_GKI := true + else + ifeq ($(TARGET_KERNEL_USE), mainline) + HIKEY_USES_GKI := true + endif endif endif -- cgit v1.2.3