Update Makefile

This commit is contained in:
ShirkNeko
2025-03-28 17:56:59 +08:00
committed by GitHub
parent a6f91948d8
commit 82c2166244

View File

@@ -44,7 +44,7 @@ endif
obj-$(CONFIG_KSU) += kernelsu.o obj-$(CONFIG_KSU) += kernelsu.o
KSU_MANUAL_VERSION := 12538 KSU_MANUAL_VERSION := 12541
ifeq ($(strip $(KSU_MANUAL_VERSION)),) ifeq ($(strip $(KSU_MANUAL_VERSION)),)
ifeq ($(shell test -e $(srctree)/$(src)/../.git; echo $$?),0) ifeq ($(shell test -e $(srctree)/$(src)/../.git; echo $$?),0)
@@ -57,7 +57,7 @@ ifeq ($(strip $(KSU_MANUAL_VERSION)),)
else else
# .git is a text file while the module is imported by 'git submodule add'. # .git is a text file while the module is imported by 'git submodule add'.
$(warning "KSU_GIT_VERSION not defined! Using default version.") $(warning "KSU_GIT_VERSION not defined! Using default version.")
KSU_VERSION := 12538 KSU_VERSION := 12541
$(info -- KernelSU version (Default): $(KSU_VERSION)) $(info -- KernelSU version (Default): $(KSU_VERSION))
ccflags-y += -DKSU_VERSION=$(KSU_VERSION) ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
endif endif