From 1a563bb3e167d9550a06c55aeff11080e675a1b4 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Sat, 19 Apr 2025 14:44:49 +0800 Subject: [PATCH] Update Makefile to add support for kernel version 6 and optimize KERNEL_TYPE judgment logic. --- kernel/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/Makefile b/kernel/Makefile index 58f33a9e..a2fc8367 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -54,6 +54,8 @@ $(info -- Supported Unofficial Manager: 5ec1cff (GKI) rsuntk (Non-GKI) ShirkNeko KERNEL_VERSION := $(VERSION).$(PATCHLEVEL) ifeq ($(shell test $(VERSION) -ge 5 -a $(PATCHLEVEL) -ge 10; echo $$?),0) KERNEL_TYPE := GKI 2.0 +else ifeq ($(shell test $(VERSION) -ge 6; echo $$?),0) +KERNEL_TYPE := GKI 2.0 else ifeq ($(shell test $(VERSION) -eq 5 -a $(PATCHLEVEL) -eq 4; echo $$?),0) KERNEL_TYPE := GKI 1.0 else