Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
configure: remove unnecessary check
All calls to probe_target_compiler are conditioned on
some "have_target" invocation, or inside a loop on target_list.
Therefore there is no issue with building unnecessary
firmware images and tests.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed May 17, 2023
1 parent 8bfa075 commit 06243f2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions configure
Expand Up @@ -1324,13 +1324,6 @@ 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
return 1
fi

target_arch=${1%%-*}
case $target_arch in
aarch64) container_hosts="x86_64 aarch64" ;;
Expand Down

0 comments on commit 06243f2

Please sign in to comment.