[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 04/28] configure: remove needless if leg
From: |
Alex Bennée |
Subject: |
[PULL 04/28] configure: remove needless if leg |
Date: |
Fri, 23 Jul 2021 18:03:30 +0100 |
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>
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
--
2.20.1
- [PULL for 6.1-rc1 00/28] doc, metadata, plugin and testing updates, Alex Bennée, 2021/07/23
- [PULL 01/28] gitignore: Update with some filetypes, Alex Bennée, 2021/07/23
- [PULL 03/28] docs: add a section on the generalities of vhost-user, Alex Bennée, 2021/07/23
- [PULL 04/28] configure: remove needless if leg,
Alex Bennée <=
- [PULL 02/28] docs: collect the disparate device emulation docs into one section, Alex Bennée, 2021/07/23
- [PULL 07/28] contrib/gitdm: add domain-map for MontaVista, Alex Bennée, 2021/07/23
- [PULL 06/28] .mailmap: fix up some broken commit authors, Alex Bennée, 2021/07/23
- [PULL 09/28] gitdm.config: sort the corporate GroupMap entries, Alex Bennée, 2021/07/23
- [PULL 08/28] contrib/gitdm: add a group mapping for robot scanners, Alex Bennée, 2021/07/23
- [PULL 10/28] contrib/gitdm: add domain-map/group-map mappings for Samsung, Alex Bennée, 2021/07/23
- [PULL 05/28] contrib/gitdm: add some new aliases to fix up commits, Alex Bennée, 2021/07/23
- [PULL 11/28] contrib/gitdm: add domain-map for Eldorado, Alex Bennée, 2021/07/23
- [PULL 19/28] contrib/gitdm: add more individual contributor entries., Alex Bennée, 2021/07/23
- [PULL 20/28] tcg/plugins: implement a qemu_plugin_user_exit helper, Alex Bennée, 2021/07/23