kernel: Makefile new line with posix compatible (#318)
30abd9e310 (commitcomment-105526985)
This commit is contained in:
@@ -28,6 +28,6 @@ test -e "$DRIVER_DIR/kernelsu" || ln -sf "$GKI_ROOT/KernelSU/kernel" "$DRIVER_DI
|
|||||||
echo '[+] Add kernel su driver to Makefile'
|
echo '[+] Add kernel su driver to Makefile'
|
||||||
|
|
||||||
DRIVER_MAKEFILE=$DRIVER_DIR/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.'
|
echo '[+] Done.'
|
||||||
|
|||||||
Reference in New Issue
Block a user