kernel: Resolve compilation issues

This commit is contained in:
ShirkNeko
2025-11-06 13:48:26 +08:00
parent e6436b340c
commit 132e9ef8ed
7 changed files with 22 additions and 26 deletions

View File

@@ -33,23 +33,10 @@ config KPM
select KALLSYMS
select KALLSYMS_ALL
choice
prompt "KernelSU hook type"
depends on KSU
default KSU_TRACEPOINT_HOOK
config KSU_TRACEPOINT_HOOK
bool "Hook KernelSU with Tracepoint"
depends on HAVE_SYSCALL_TRACEPOINTS
help
If enabled, Hook required KernelSU syscalls with Tracepoint.
config KSU_MANUAL_HOOK
bool "Hook KernelSU manually"
depends on KSU != m
help
If enabled, Hook required KernelSU syscalls with manually-patched function.
endchoice
endmenu