Update Makefile

This commit is contained in:
ShirkNeko
2025-04-03 16:08:40 +08:00
committed by GitHub
parent 2632c08ef0
commit 472c72717f

View File

@@ -47,7 +47,7 @@ endif
obj-$(CONFIG_KSU) += kernelsu.o obj-$(CONFIG_KSU) += kernelsu.o
KSU_MANUAL_VERSION := 12703 KSU_MANUAL_VERSION := 12705
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)
@@ -60,7 +60,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 := 12703 KSU_VERSION := 12705
$(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