]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
docker: split configure_qemu from build_qemu
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 9 Jul 2018 09:58:34 +0000 (10:58 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 24 Jul 2018 10:45:25 +0000 (11:45 +0100)
This allows some tests that just want to configure QEMU's source tree
to do so.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
tests/docker/common.rc

index 046f8a59210fd6dcaeffbfec426be49f8eabb8a4..ba1f942328a89bcd16dcc4f60baf023761bb85fe 100755 (executable)
@@ -21,7 +21,7 @@ requires()
     done
 }
 
-build_qemu()
+configure_qemu()
 {
     config_opts="--enable-werror \
                  ${TARGET_LIST:+--target-list=${TARGET_LIST}} \
@@ -32,6 +32,11 @@ build_qemu()
     echo $config_opts
     $QEMU_SRC/configure $config_opts || \
         { cat config.log && test_fail "Failed to run 'configure'"; }
+}
+
+build_qemu()
+{
+    configure_qemu $@
     make $MAKEFLAGS
 }