From: Alex Bennée Date: Mon, 9 Jul 2018 09:58:34 +0000 (+0100) Subject: docker: split configure_qemu from build_qemu X-Git-Tag: v3.0.0-rc2~4^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4ce964d94ee8648c85cbdbe149156d29a4ee53f;p=thirdparty%2Fqemu.git docker: split configure_qemu from build_qemu This allows some tests that just want to configure QEMU's source tree to do so. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- diff --git a/tests/docker/common.rc b/tests/docker/common.rc index 046f8a59210..ba1f942328a 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -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 }