]> Git Repo - qemu.git/commitdiff
docker: Add EXTRA_CONFIGURE_OPTS
authorFam Zheng <[email protected]>
Wed, 1 Jun 2016 04:25:27 +0000 (12:25 +0800)
committerFam Zheng <[email protected]>
Wed, 1 Jun 2016 09:27:35 +0000 (17:27 +0800)
Whatever passed in this variable will be appended to all
configure commands.

Signed-off-by: Fam Zheng <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Message-id: 1464755128[email protected]

tests/docker/Makefile.include
tests/docker/common.rc

index ef8bcaea599a56e8567863deebd132ac9e0c28b2..2fd2ca305716bc6670a260a8c11748413f2e31b9 100644 (file)
@@ -87,6 +87,8 @@ docker:
        @echo
        @echo 'Special variables:'
        @echo '    TARGET_LIST=a,b,c    Override target list in builds.'
+       @echo '    EXTRA_CONFIGURE_OPTS="..."'
+       @echo '                         Extra configure options.'
        @echo '    IMAGES="a b c ..":   Filters which images to build or run.'
        @echo '    TESTS="x y z .."     Filters which tests to run (for docker-test).'
        @echo '    J=[0..9]*            Overrides the -jN parameter for make commands'
@@ -108,6 +110,7 @@ docker-run-%: docker-qemu-src
                                -t \
                                $(if $(DEBUG),-i,--net=none) \
                                -e TARGET_LIST=$(TARGET_LIST) \
+                               -e EXTRA_CONFIGURE_OPTS=$(EXTRA_CONFIGURE_OPTS) \
                                -e V=$V -e J=$J -e DEBUG=$(DEBUG)\
                                -e CCACHE_DIR=/var/tmp/ccache \
                                -v $$(realpath $(DOCKER_SRC_COPY)):/var/tmp/qemu:z$(COMMA)ro \
index 74b89d6c1e4f49e717875b0df0c45312ce2138ef..c493eebd453714ed28ccab1dd5b0538b1a788612 100755 (executable)
@@ -26,6 +26,7 @@ build_qemu()
     $QEMU_SRC/configure \
         --target-list="${TARGET_LIST}" \
         --prefix="$PWD/install" \
+        $EXTRA_CONFIGURE_OPTS \
         "$@"
     make $MAKEFLAGS
 }
This page took 0.025635 seconds and 4 git commands to generate.