kernel: Remove macro definitions, pass variables using ccflags -y, and reapply manual su protection.
kernel: stop printing useless message unless its ddk environment * In-tree build show empty KDIR -- KDIR: -- MDIR: /home/runner/work/KernelSU-Test/KernelSU-Test/kernel_414/KernelSU/kernel AR drivers/iommu/built-in.o CC drivers/input/misc/uinput.o -- KernelSU version: 12329 -- KernelSU: CONFIG_KSU_MANUAL_HOOK -- Supported KernelSU Manager(s): tiann, rsuntk, 5ec1cff CC drivers/kernelsu/ksu.o AR drivers/input/joystick/built-in.o CC drivers/hid/hid-roccat-pyra.o Co-authored-by: Faris <rissu.ntk@gmail.com> Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
This commit is contained in:
4
.github/workflows/ddk-lkm.yml
vendored
4
.github/workflows/ddk-lkm.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
name: Build kernelsu.ko for ${{ inputs.kmi }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/shirkneko/ddk:${{ inputs.kmi }}-${{ inputs.ddk_release }}
|
||||
image: ghcr.io/ylarod/ddk:${{ inputs.kmi }}-${{ inputs.ddk_release }}
|
||||
options: --privileged
|
||||
|
||||
steps:
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
cd kernel
|
||||
|
||||
echo "=== Building kernelsu.ko for KMI: ${{ inputs.kmi }} ==="
|
||||
CONFIG_KSU=m make
|
||||
CONFIG_KSU=m CONFIG_KSU_KPROBES_HOOK=y CONFIG_KSU_MANUAL_SU=y make
|
||||
|
||||
echo "=== Build completed ==="
|
||||
# Create output directory in GitHub workspace
|
||||
|
||||
Reference in New Issue
Block a user