kernel: Use CONFIG_KSU=m to compile lkm (#1468)

before:
CONFIG_KSU=y
CONFIG_KSU_MODULE=y

after:
CONFIG_KSU=m

---------

Signed-off-by: dabao1955 <dabao1955@163.com>
Co-authored-by: weishu <twsxtd@gmail.com>
This commit is contained in:
dabao1955
2024-03-19 15:40:38 +08:00
committed by GitHub
parent 65bda4b5a8
commit 051e7e23e8
3 changed files with 10 additions and 17 deletions

View File

@@ -5,20 +5,15 @@ config KSU
depends on OVERLAY_FS
default y
help
Enable kernel-level root privileges on Android System.
Enable kernel-level root privileges on Android System.
To compile as a module, choose M here: the
module will be called kernelsu.
config KSU_DEBUG
bool "KernelSU debug mode"
depends on KSU
default n
help
Enable KernelSU debug mode
config KSU_MODULE
bool "Build KernelSU as a module"
depends on KSU
default n
help
Build KernelSU as a loadable kernel module
Enable KernelSU debug mode.
endmenu