修复 KSU_VERSION 的定义逻辑,确保在未定义 KSU_MANUAL_VERSION 时使用正确的 KSU_VERSION
This commit is contained in:
@@ -60,7 +60,7 @@ ifeq ($(strip $(KSU_MANUAL_VERSION)),)
|
|||||||
ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
|
ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
|
||||||
else
|
else
|
||||||
$(warning "KSU_GIT_VERSION not defined! Using default version.")
|
$(warning "KSU_GIT_VERSION not defined! Using default version.")
|
||||||
KSU_VERSION := 12717
|
KSU_VERSION := $(KSU_VERSION)
|
||||||
$(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
|
||||||
|
|||||||
Reference in New Issue
Block a user