qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL 1/1] Revert "configure: build ROMs with container-based cross


From: Paolo Bonzini
Subject: Re: [PULL 1/1] Revert "configure: build ROMs with container-based cross compilers"
Date: Wed, 12 Oct 2022 16:32:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1

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

[Prev in Thread] Current Thread [Next in Thread]