From 037c5b6c73351432f60ce56e06a2800f4d4cb01e Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Sat, 10 May 2025 14:12:48 +0800 Subject: [PATCH] kernel: rename KernelSU to SukiSU and update versioning logic --- kernel/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index a0224002..b7ec77a7 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -25,11 +25,11 @@ $(shell cd $(srctree)/$(src); /usr/bin/env PATH="$$PATH":/usr/bin:/usr/local/bin KSU_GIT_VERSION := $(shell cd $(srctree)/$(src); /usr/bin/env PATH="$$PATH":/usr/bin:/usr/local/bin git rev-list --count main) # ksu_version: major * 10000 + git version + 606 for historical reasons $(eval KSU_VERSION=$(shell expr 10000 + $(KSU_GIT_VERSION) + 606)) -$(info -- KernelSU version: $(KSU_VERSION)) +$(info -- SukiSU version: $(KSU_VERSION)) ccflags-y += -DKSU_VERSION=$(KSU_VERSION) else # If there is no .git file, the default version will be passed. -$(warning "KSU_GIT_VERSION not defined! It is better to make KernelSU a git submodule!") -ccflags-y += -DKSU_VERSION=16 +$(warning "KSU_GIT_VERSION not defined! It is better to make SukiSU a git submodule!") +ccflags-y += -DKSU_VERSION=12800 endif # Do checks before compile