mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-26 01:08:10 -07:00
Build x86-64 by default, fix make script to build for ARM
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user