summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-01-16 15:18:43 +0100
committerTom Rini <trini@konsulko.com>2019-01-18 13:40:34 -0500
commit984a1feb7137f284cdcfd7adbe674cdc1ddd495f (patch)
tree427a418c8d6ac4d3013bfbed04abf1e95d3e9a04 /.travis.yml
parentaa13261215e3d36cd8e512d951ab9b0b5f3802e3 (diff)
downloadu-boot-984a1feb7137f284cdcfd7adbe674cdc1ddd495f.tar.gz
travis: Setup QEMU_VERSION as variable
This change enables setting up specific Qemu version or sha1 for new targets which are added after (current) v3.0.0 version. This changes is preparation step for adding new Xilinx Versal Virt platform which was merge after v3.0.0. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index bb7f3c078b..70af7a4bba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -63,6 +63,7 @@ env:
- BUILD_DIR=build
- HOSTCC="cc"
- HOSTCXX="c++"
+ - QEMU_VERSION="v3.0.0"
before_script:
# install toolchains based on TOOLCHAIN} variable
@@ -97,7 +98,7 @@ before_script:
git clone git://git.qemu.org/qemu.git /tmp/qemu;
pushd /tmp/qemu;
git submodule update --init dtc &&
- git checkout v3.0.0 &&
+ git checkout ${QEMU_VERSION} &&
./configure --prefix=/tmp/qemu-install --target-list=${QEMU_TARGET} &&
make -j4 all install;
popd;