update make to use firmware profile

This commit is contained in:
Cooper Quintin
2025-06-03 14:33:17 -07:00
committed by Cooper Quintin
parent 60daf4b716
commit 5e2058e7ac

View File

@@ -2,8 +2,8 @@
pushd bin/web
npm run build
popd
cargo build --release --target="armv7-unknown-linux-musleabihf" #--features debug
cargo build --profile firmware --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/release/rayhunter-daemon /data/rayhunter/rayhunter-daemon
adb push target/armv7-unknown-linux-musleabihf/firmware/rayhunter-daemon /data/rayhunter/rayhunter-daemon
echo "rebooting the device..."
adb shell '/bin/rootshell -c "reboot"'