kernel: Modify and adjust KernelSU Kconfig (#538)

1. List KSU as a "KernelSU" menu
2. Overlayfs[1] may be disabled for some early kernels(4.4.y), so
choosing depends on OVERLAY_FS here is useless.
3. KSU_DEBUG is a bool option, it is not a module, fixed from tristate
to bool.
4. Adjust the config order

[1]: github.com/LineageOS/android_kernel_xiaomi_msm8998/commit/dcc27641

Change-Id: I49c77ba30f0a8ed00efc44afef8a12f9ad039d7e

Co-authored-by: admin <paper@localhost>
This commit is contained in:
Aquarius223
2023-05-21 20:28:59 +08:00
committed by GitHub
parent c2b981dbdb
commit b56448a929

View File

@@ -1,13 +1,17 @@
menu "KernelSU"
config KSU config KSU
tristate "KernelSU module" tristate "KernelSU module"
select OVERLAY_FS
default y default y
depends on OVERLAY_FS
help help
This is the KSU privilege driver for android system. This is the KSU privilege driver for android system.
config KSU_DEBUG config KSU_DEBUG
tristate "KernelSU module debug mode" bool "KernelSU module debug mode"
default n
depends on KSU depends on KSU
default n
help help
This enables debug mode for KSU This enables debug mode for KSU
endmenu