kernel: Makefile new line with posix compatible (#318)

https://github.com/tiann/KernelSU/commit/30abd9e31043b47579a9f0453b780a9b1376d7f0#commitcomment-105526985
This commit is contained in:
Shatyuka
2023-03-23 10:41:12 +08:00
committed by GitHub
parent 6d6f793c69
commit be452a22f0
+1 -1
View File
@@ -28,6 +28,6 @@ test -e "$DRIVER_DIR/kernelsu" || ln -sf "$GKI_ROOT/KernelSU/kernel" "$DRIVER_DI
echo '[+] Add kernel su driver to Makefile'
DRIVER_MAKEFILE=$DRIVER_DIR/Makefile
grep -q "kernelsu" "$DRIVER_MAKEFILE" || echo "obj-y += kernelsu/" >>"$DRIVER_MAKEFILE"
grep -q "kernelsu" "$DRIVER_MAKEFILE" || printf "\nobj-y += kernelsu/\n" >> "$DRIVER_MAKEFILE"
echo '[+] Done.'