KernelSU icon indicating copy to clipboard operation
KernelSU copied to clipboard

kernel: migrate build rules from Makefile to Kbuild

Open dabao1955 opened this issue 3 weeks ago • 0 comments

Move all build definitions including object files, compiler flags, version detection logic, and manager signature configuration from kernel/Makefile into a new kernel/Kbuild file.

This aligns with standard Kbuild practices for out-of-tree kernel modules and cleans up the top-level Makefile to only handle high-level targets (all, compdb, clean). The build behavior remains unchanged.

Also retain informational messages for version, manager package, and signature verification to aid debugging and CI.

dabao1955 avatar Nov 11 '25 11:11 dabao1955