Skip to content

Commit

Permalink
configure: change $softmmu to $system
Browse files Browse the repository at this point in the history
"softmmu" is a deprecated moniker, do the easy change matching
the variable to the command line option.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Oct 8, 2023
1 parent 8d7f2e7 commit 24f9c07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ docs="auto"
EXESUF=""
prefix="/usr/local"
qemu_suffix="qemu"
softmmu="yes"
system="yes"
linux_user=""
bsd_user=""
plugins="$default_feature"
Expand Down Expand Up @@ -740,9 +740,9 @@ for opt do
;;
--enable-tcg) tcg="enabled"
;;
--disable-system) softmmu="no"
--disable-system) system="no"
;;
--enable-system) softmmu="yes"
--enable-system) system="yes"
;;
--disable-user)
linux_user="no" ;
Expand Down Expand Up @@ -864,7 +864,7 @@ else
error_exit "user mode emulation not supported on this architecture"
fi
fi
if [ "$softmmu" = "yes" ]; then
if [ "$system" = "yes" ]; then
mak_wilds="${mak_wilds} $source_path/configs/targets/*-softmmu.mak"
fi

Expand Down Expand Up @@ -1756,7 +1756,7 @@ for target in $target_list; do

case $target in
xtensa*-linux-user)
# the toolchain is not complete with headers, only build softmmu tests
# the toolchain is not complete with headers, only build system tests
continue
;;
*-softmmu)
Expand Down

0 comments on commit 24f9c07

Please sign in to comment.