summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-08-30 06:17:06 -0700
committerTom Rini <trini@konsulko.com>2018-09-05 22:14:37 -0400
commitb5135e453879b12a70c1d0a53a1dbc91059e75a5 (patch)
treeb1e19ebf88612fbbac3c8a58b893049305887904 /.travis.yml
parent861b85c482b3aec5bbb8cdcc364aa6f15aebeba5 (diff)
downloadu-boot-b5135e453879b12a70c1d0a53a1dbc91059e75a5.tar.gz
travis: Use kernel.org pre-built toolchain for riscv
This updates travis configuration to use kernel.org pre-built toolchain for riscv. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 4db629d15b..95cfa5b6fc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -87,9 +87,8 @@ before_script:
fi
- if [[ "${TOOLCHAIN}" == "powerpc" ]]; then ./tools/buildman/buildman --fetch-arch powerpc; fi
- if [[ "${TOOLCHAIN}" == "riscv" ]]; then
- wget https://github.com/andestech/prebuilt/releases/download/20180530/riscv64-unknown-linux-gnu.tar.gz &&
- tar -C /tmp -xf riscv64-unknown-linux-gnu.tar.gz &&
- echo -e "\n[toolchain-prefix]\nriscv = /tmp/riscv64-unknown-linux-gnu/bin/riscv64-unknown-linux-gnu-" >> ~/.buildman;
+ ./tools/buildman/buildman --fetch-arch riscv64;
+ echo -e "\n[toolchain-alias]\nriscv = riscv64" >> ~/.buildman;
fi
- if [[ "${QEMU_TARGET}" != "" ]]; then
git clone git://git.qemu.org/qemu.git /tmp/qemu;