On 10/12/22 11:08, Daniel P. Berrangé wrote:
   - Tailor downloads wrt the target list configured
This is already done.

Where's the patch for that, I hadn't noticed it being posted yet ?

Oh, I thought it was done already before the introduction of containers but only tests/tcg is filtered. But it should be as simple as

diff --git a/configure b/configure
index 00acb69cc9..7a26ce39b3 100755
--- a/configure
+++ b/configure
@@ -1269,6 +1269,11 @@ probe_target_compiler() {
   container_cross_ranlib=
   container_cross_strip=

+  case " $target_list " in
+    " $1 ") ;;
+    *) return 1 ;;
+  esac
+
   target_arch=${1%%-*}
   case $target_arch in
     aarch64) container_hosts="x86_64 aarch64" ;;


Paolo


Reply via email to