24 lines
594 B
Bash
24 lines
594 B
Bash
|
case $TRAVIS_OS_NAME in
|
||
|
linux)
|
||
|
export HOST=x86_64-unknown-linux-gnu
|
||
|
;;
|
||
|
osx)
|
||
|
export HOST=x86_64-apple-darwin
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
case $TARGET in
|
||
|
aarch64-unknown-linux-gnu)
|
||
|
export PREFIX=aarch64-linux-gnu-
|
||
|
export QEMU_LD_PREFIX=/usr/aarch64-linux-gnu
|
||
|
;;
|
||
|
arm*-unknown-linux-gnueabi)
|
||
|
export PREFIX=arm-linux-gnueabi-
|
||
|
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi
|
||
|
;;
|
||
|
arm*-unknown-linux-gnueabihf)
|
||
|
export PREFIX=arm-linux-gnueabihf-
|
||
|
export QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf
|
||
|
;;
|
||
|
esac
|