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