diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2021-09-22 16:15:27 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2021-10-12 08:38:10 +0100 |
| commit | 17888749ba0fb06694de5efe0b941f16a0fba6fa (patch) | |
| tree | 74f1a62f1b67dcebf628d4d4f8827281b38e8afd /tests/docker/common.rc | |
| parent | 9b89cdb2a5064a87b8a7172fa1748d46aa37a9df (diff) | |
| download | focaccia-qemu-17888749ba0fb06694de5efe0b941f16a0fba6fa.tar.gz focaccia-qemu-17888749ba0fb06694de5efe0b941f16a0fba6fa.zip | |
tests/docker: add a debian-native image and make available
This image is intended for building whatever the native versions of QEMU are for the host architecture. This will hopefully be an aid for 3rd parties who want to be able to build QEMU themselves without redoing all the dependencies themselves. We disable the registry because we currently don't have multi-arch support there. 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> Tested-by: Anders Roxell <anders.roxell@linaro.org> Acked-by: Willian Rampazzo <willianr@redhat.com> Message-Id: <20210922151528.2192966-1-alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/common.rc')
| -rwxr-xr-x | tests/docker/common.rc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/docker/common.rc b/tests/docker/common.rc index c5cc33d366..e6f8cee0d6 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -12,8 +12,14 @@ # the top-level directory. # This might be set by ENV of a docker container... it is always -# overriden by TARGET_LIST if the user sets it. -DEF_TARGET_LIST=${DEF_TARGET_LIST:-"x86_64-softmmu,aarch64-softmmu"} +# overriden by TARGET_LIST if the user sets it. We special case +# "none" to allow for other options like --disable-tcg to restrict the +# builds we eventually do. +if test "$DEF_TARGET_LIST" = "none"; then + DEF_TARGET_LIST="" +else + DEF_TARGET_LIST=${DEF_TARGET_LIST:-"x86_64-softmmu,aarch64-softmmu"} +fi requires_binary() { |