diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2023-03-04 08:27:15 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-03-04 08:27:15 +0000 |
commit | 4d14b2dcce6692bc865fe83a9eed775add81e034 (patch) | |
tree | a3f6324456b40b650aa7fd95a468324ba4796ffe | |
parent | 10ef3ac55dde3da2e3d4da5bc66b9328bd54dfc6 (diff) | |
parent | 4ac2ad44331fe828bc2b9d9e4ca46f16db1abc12 (diff) | |
download | hikey-4d14b2dcce6692bc865fe83a9eed775add81e034.tar.gz |
hikey960: set default kernel to 5.10 am: 7788ffd9eb am: a356ea0c83 am: e688182ea8 am: 4ac2ad4433
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2469591
Change-Id: Id1c71a301ba6d5fa5e4b1ac30e9e38466737cdc1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | hikey960.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hikey960.mk b/hikey960.mk index 673181c6..7a35a224 100644 --- a/hikey960.mk +++ b/hikey960.mk @@ -1,21 +1,23 @@ ifndef TARGET_KERNEL_USE -TARGET_KERNEL_USE=5.4 +TARGET_KERNEL_USE=5.10 endif LOCAL_KERNEL_HOME ?= device/linaro/hikey-kernel/hikey960/$(TARGET_KERNEL_USE) TARGET_PREBUILT_KERNEL := $(LOCAL_KERNEL_HOME)/Image.gz-dtb TARGET_PREBUILT_DTB := $(LOCAL_KERNEL_HOME)/hi3660-hikey960.dtb ifndef HIKEY_USES_GKI - ifeq ($(TARGET_KERNEL_USE), 5.4) + ifeq ($(TARGET_KERNEL_USE), mainline) HIKEY_USES_GKI := true else - ifeq ($(TARGET_KERNEL_USE), mainline) + KERNEL_MAJ := $(word 1, $(subst ., ,$(TARGET_KERNEL_USE))) + # kernel since 5.X should support GKI + # only 4.X kernels do not support GKI + ifneq ($(KERNEL_MAJ), 4) HIKEY_USES_GKI := true endif endif endif - include $(LOCAL_PATH)/vendor-package-ver.mk # Inherit the common device configuration |