Update Makefile

This commit is contained in:
ShirkNeko
2025-03-21 03:11:56 +08:00
committed by GitHub
parent 2c7920275f
commit d9a454ba3e

View File

@@ -44,7 +44,7 @@ endif
obj-$(CONFIG_KSU) += kernelsu.o obj-$(CONFIG_KSU) += kernelsu.o
KSU_MANUAL_VERSION := 12515 KSU_MANUAL_VERSION := 12516
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 := 12515 KSU_VERSION := 12516
$(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