Update Makefile

This commit is contained in:
ShirkNeko
2025-03-29 17:08:37 +08:00
committed by GitHub
parent a6c2614237
commit ddc99b8cfe

View File

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