From ed0cfd231e65058570b92936b45a7707e0c9b04c Mon Sep 17 00:00:00 2001 From: tiann Date: Tue, 16 May 2023 19:46:42 +0800 Subject: [PATCH] ci: fix debug build --- .github/workflows/gki-kernel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gki-kernel.yml b/.github/workflows/gki-kernel.yml index 64f7062b..63005feb 100644 --- a/.github/workflows/gki-kernel.yml +++ b/.github/workflows/gki-kernel.yml @@ -108,10 +108,10 @@ jobs: grep -q "kernelsu" $DRIVER_MAKEFILE || echo "obj-y += kernelsu/" >> $DRIVER_MAKEFILE echo "[+] Apply KernelSU patches" cd $GKI_ROOT/common/ && git apply $GITHUB_WORKSPACE/KernelSU/.github/patches/$PATCH_PATH/*.patch - echo "Patch script/setlocalversion" + echo "[+] Patch script/setlocalversion" sed -i 's/-dirty//g' $GKI_ROOT/common/scripts/setlocalversion - if [ "$IS_DEBUG_KERNEL" = "true"]; then + if [ "$IS_DEBUG_KERNEL" = "true" ]; then echo "[+] Enable debug features for kernel" echo "ccflags-y += -DCONFIG_KSU_DEBUG" >> $GITHUB_WORKSPACE/KernelSU/kernel/Makefile fi