添加 KernelSU KPM 功能配置选项

This commit is contained in:
ShirkNeko
2025-03-30 02:23:01 +08:00
parent e328f0cec2
commit 562baac934
2 changed files with 9 additions and 1 deletions

View File

@@ -23,4 +23,12 @@ config KSU_HOOK
This option enables the KernelSU Hook feature. If enabled, it will This option enables the KernelSU Hook feature. If enabled, it will
override the kernel version check and enable the hook functionality. override the kernel version check and enable the hook functionality.
config KPM
bool "Enable KernelSU KPM"
default n
help
This option enables the KernelSU KPM feature. If enabled, it will
override the kernel version check and enable the hook functionality.
endmenu endmenu

View File

@@ -16,7 +16,7 @@ ccflags-y += -I$(objtree)/security/selinux -include $(srctree)/include/uapi/asm-
obj-$(CONFIG_KSU) += kernelsu.o obj-$(CONFIG_KSU) += kernelsu.o
obj-y += kpm/ obj-$(CONFIG_KPM) += kpm/
# .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'.