On 10/14/22 10:13, Alex Bennée wrote:
@@ -1866,6 +1866,15 @@ probe_target_compiler() {
container_cross_ranlib=
container_cross_strip=
+ # We shall skip configuring the target compiler if the user didn't
+ # bother enabling an appropriate guest. This avoids building
+ # extraneous firmware images and tests.
+ if test "${target_list#*$1}" != "$1"; then
+ break;
+ else
+ return 1
+ fi
+
target_arch=${1%%-*}
case $target_arch in
aarch64) container_hosts="x86_64 aarch64" ;;
There's another problem with i386-softmmu/x86_64-softmmu using the same
firmware (PPC too). See "[PATCH] configure: don't enable firmware for
targets that are not built".
Paolo