aboutsummaryrefslogtreecommitdiffstats
path: root/roms/skiboot/opal-ci/build-qemu-powernv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roms/skiboot/opal-ci/build-qemu-powernv.sh')
-rwxr-xr-xroms/skiboot/opal-ci/build-qemu-powernv.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/roms/skiboot/opal-ci/build-qemu-powernv.sh b/roms/skiboot/opal-ci/build-qemu-powernv.sh
new file mode 100755
index 000000000..cf96048a8
--- /dev/null
+++ b/roms/skiboot/opal-ci/build-qemu-powernv.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -e
+set -vx
+
+git clone --depth=1 -b powernv-6.0 git://github.com/open-power/qemu.git
+cd qemu
+git submodule update --init dtc
+export CC="ccache gcc"
+export CXX="ccache g++"
+./configure --target-list=ppc64-softmmu --disable-werror
+make -j $(grep -c processor /proc/cpuinfo)