mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-03-12 08:01:42 +01:00
adjust cross-build.sh
This commit is contained in:
parent
50de3e053b
commit
dc97df3cb5
@ -30,8 +30,14 @@ fi
|
||||
echo -e "\n+++++++++++++++++++++++++++++++++++++++++++"
|
||||
echo -e "cross-compiling ..."
|
||||
echo -e "+++++++++++++++++++++++++++++++++++++++++++\n"
|
||||
CARGO_TARGET_DIR=target/x86_64-unknown-linux-gnu time cargo build --release
|
||||
cd fabfire_provision; CARGO_TARGET_DIR=../target/x86_64-unknown-linux-gnu time cargo build --release; cd ../
|
||||
|
||||
#build bffhd binaries
|
||||
time cargo build --release --target-dir target/x86_64-unknown-linux-gnu
|
||||
time cross build --target=aarch64-unknown-linux-gnu --release
|
||||
time cross build --target=armv7-unknown-linux-gnueabihf --release
|
||||
|
||||
#build fabfire_provision binaries
|
||||
cd fabfire_provision/
|
||||
time cargo build --release --target-dir ../target/x86_64-unknown-linux-gnu
|
||||
time cross build --target=aarch64-unknown-linux-gnu --release
|
||||
time cross build --target=armv7-unknown-linux-gnueabihf --release
|
||||
cd ../
|
||||
|
Loading…
x
Reference in New Issue
Block a user