[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 4/7] configure: don't enable cross compilers unless in target_
From: |
Alex Bennée |
Subject: |
[PATCH v2 4/7] configure: don't enable cross compilers unless in target_list |
Date: |
Thu, 13 Oct 2022 16:47:02 +0100 |
This avoids the unfortunate effect of always builds the pc-bios blobs
for targets the user isn't interested in.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index 45ee6f4eb3..246651f25d 100755
--- a/configure
+++ b/configure
@@ -1866,6 +1866,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" ;;
--
2.34.1
[PATCH v2 3/7] tests/docker: Add flex/bison to `debian-all-test`, Alex Bennée, 2022/10/13
[PATCH v2 2/7] tests/docker: update test-mingw to run single build, Alex Bennée, 2022/10/13
[PATCH v2 6/7] configure: expose the direct container command, Alex Bennée, 2022/10/13
[PATCH v2 7/7] tests/docker: use direct RUNC call in debian-toolchain, Alex Bennée, 2022/10/13
[PATCH v2 1/7] tests/docker: update fedora-win[32|64]-cross with lcitool, Alex Bennée, 2022/10/13