summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlex Bennée2021-07-21 01:26:38 +0200
committerAlex Bennée2021-07-23 18:22:16 +0200
commit11bdcfcdd2ccad91dc3076c7de30803f32f7cdde (patch)
treeae017cc165b7a77d366c44efc5a39e6c5b03036b /configure
parentdocs: add a section on the generalities of vhost-user (diff)
downloadqemu-11bdcfcdd2ccad91dc3076c7de30803f32f7cdde.tar.gz
qemu-11bdcfcdd2ccad91dc3076c7de30803f32f7cdde.tar.xz
qemu-11bdcfcdd2ccad91dc3076c7de30803f32f7cdde.zip
configure: remove needless if leg
It was pointed out in review of the previous patch that the if leg isn't needed as the for loop will not enter on an empty $device_archs. Fixes: d1d5e9eefd ("configure: allow the selection of alternate config in the build") Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210720232703.10650-5-alex.bennee@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 4 insertions, 6 deletions
diff --git a/configure b/configure
index 0005cd140d..69cef68861 100755
--- a/configure
+++ b/configure
@@ -5103,12 +5103,10 @@ if test "$skip_meson" = no; then
echo "[properties]" >> $cross
# unroll any custom device configs
- if test -n "$device_archs"; then
- for a in $device_archs; do
- eval "c=\$devices_${a}"
- echo "${a}-softmmu = '$c'" >> $cross
- done
- fi
+ for a in $device_archs; do
+ eval "c=\$devices_${a}"
+ echo "${a}-softmmu = '$c'" >> $cross
+ done
test -z "$cxx" && echo "link_language = 'c'" >> $cross
echo "[built-in options]" >> $cross