Fix make script

Only build the daemon for make's purposes
This commit is contained in:
Will Greenberg
2025-06-18 16:02:39 -07:00
committed by Cooper Quintin
parent 83dba77cba
commit deeab1f1b0
+1 -1
View File
@@ -2,7 +2,7 @@
pushd bin/web
npm run build
popd
cargo build --profile firmware --target="armv7-unknown-linux-musleabihf" #--features debug
cargo build --profile firmware --bin rayhunter-daemon --target="armv7-unknown-linux-musleabihf" #--features debug
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon stop"'
adb push target/armv7-unknown-linux-musleabihf/firmware/rayhunter-daemon /data/rayhunter/rayhunter-daemon
echo "rebooting the device..."