diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2018-02-07 15:30:01 -0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-13 23:00:29 -0500 |
commit | b6f3a12ef865c6a4a8444c810d4588bddc45adfe (patch) | |
tree | fe14b4dd432203402950a2271bee93f6915daf53 | |
parent | 244ce78a04b9c63c11360ae7e1f6217c6bcec1d6 (diff) | |
download | u-boot-b6f3a12ef865c6a4a8444c810d4588bddc45adfe.tar.gz |
.travis.yml: download xtensa prebuilt toolchain
xtensa toolchains are core-specific, so give full toolchain name and
download corresponding prebuilt toolchain from the github release.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 59d1dd99e8..8840c83946 100644 --- a/.travis.yml +++ b/.travis.yml @@ -72,7 +72,11 @@ before_script: wget https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2016.09-release/arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install.tar.gz && tar -C /tmp -xf arc_gnu_2016.09_prebuilt_uclibc_le_archs_linux_install.tar.gz; fi - - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then ./tools/buildman/buildman --fetch-arch xtensa ; fi + - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then + wget https://github.com/foss-xtensa/toolchain/releases/download/2018.02/x86_64-2018.02-${TOOLCHAIN}.tar.gz && + tar -C /tmp -xf x86_64-2018.02-${TOOLCHAIN}.tar.gz && + echo -e "\n[toolchain-prefix]\nxtensa = /tmp/2018.02/${TOOLCHAIN}/bin/${TOOLCHAIN}-" >> ~/.buildman; + fi # If TOOLCHAIN is unset, we're on some flavour of ARM. - if [[ "${TOOLCHAIN}" == "" ]]; then wget http://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.02-x86_64_aarch64-linux-gnu.tar.xz && @@ -271,7 +275,7 @@ matrix: BUILDMAN="xilinx -x microblaze" - env: - BUILDMAN="xtensa" - TOOLCHAIN="xtensa" + TOOLCHAIN="xtensa-dc233c-elf" - env: - BUILDMAN="riscv" TOOLCHAIN="riscv" |