Build x86-64 by default, fix make script to build for ARM

This commit is contained in:
Will Greenberg
2024-02-13 16:55:15 -08:00
parent dbd6063b8c
commit a644620eaa
2 changed files with 4 additions and 18 deletions
+3 -9
View File
@@ -1,10 +1,4 @@
<<<<<<< Updated upstream
cargo build --release
adb push target/armv7-unknown-linux-gnueabihf/release/rayhunter /data/rayhunter/rayhunter
#!/bin/sh
cargo build --release --target="armv7-unknown-linux-gnueabihf" --bin rayhunter-daemon
adb push target/armv7-unknown-linux-gnueabihf/release/rayhunter-daemon /data/rayhunter/
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon restart"'
=======
# the "arm" profile inherits from "release", so this is an optimized build
cargo build --profile arm
adb push target/arm/rayhunter-daemon /data/rayhunter/
adb shell '/bin/rootshell -c "/etc/init.d/rayhunter_daemon restart"'
>>>>>>> Stashed changes