]> git.baikalelectronics.ru Git - uboot.git/commitdiff
travis: Use kernel.org pre-built toolchain for riscv
authorBin Meng <bmeng.cn@gmail.com>
Thu, 30 Aug 2018 13:17:06 +0000 (06:17 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 6 Sep 2018 02:14:37 +0000 (22:14 -0400)
This updates travis configuration to use kernel.org pre-built
toolchain for riscv.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
.travis.yml

index 4db629d15bd2da0036095f74634e25a661a49d77..95cfa5b6fca9868aee1dff9f8928956e082827e1 100644 (file)
@@ -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;