Skip to content

Commit

Permalink
kernel: Add back Makefile new line with posix compatible (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDeathDragon authored Feb 23, 2024
1 parent a99c69f commit 2820779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ echo '[+] Add kernel su driver to Makefile'

DRIVER_MAKEFILE=$DRIVER_DIR/Makefile
DRIVER_KCONFIG=$DRIVER_DIR/Kconfig
grep -q "kernelsu" "$DRIVER_MAKEFILE" || printf "obj-\$(CONFIG_KSU) += kernelsu/\n" >> "$DRIVER_MAKEFILE"
grep -q "kernelsu" "$DRIVER_MAKEFILE" || printf "\nobj-\$(CONFIG_KSU) += kernelsu/\n" >> "$DRIVER_MAKEFILE"
grep -q "kernelsu" "$DRIVER_KCONFIG" || sed -i "/endmenu/i\\source \"drivers/kernelsu/Kconfig\"" "$DRIVER_KCONFIG"

echo '[+] Done.'
echo '[+] Done.'

0 comments on commit 2820779

Please sign in to comment.