[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 04/29] configure: remove needless if leg
|
From: |
Alex Bennée |
|
Subject: |
[PATCH v1 04/29] configure: remove needless if leg |
|
Date: |
Wed, 21 Jul 2021 00:26:38 +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: <20210714182056.25888-5-alex.bennee@linaro.org>
---
configure | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/configure b/configure
index 232c54dcc1..05d96afc17 100755
--- a/configure
+++ b/configure
@@ -5120,12 +5120,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.32.0.264.g75ae10bc75
- [PATCH for 6.1-rc1 v1 00/29] various fixes pre-PR (metadata, docs, plugins, testing), Alex Bennée, 2021/07/20
- [PATCH v1 01/29] gitignore: Update with some filetypes, Alex Bennée, 2021/07/20
- [PATCH v1 02/29] docs: collect the disparate device emulation docs into one section, Alex Bennée, 2021/07/20
- [PATCH v1 03/29] docs: add a section on the generalities of vhost-user, Alex Bennée, 2021/07/20
- [PATCH v1 04/29] configure: remove needless if leg,
Alex Bennée <=
- [PATCH v1 05/29] contrib/gitdm: add some new aliases to fix up commits, Alex Bennée, 2021/07/20
- [PATCH v1 06/29] .mailmap: fix up some broken commit authors, Alex Bennée, 2021/07/20
- [PATCH v1 07/29] contrib/gitdm: add domain-map for MontaVista, Alex Bennée, 2021/07/20
- [PATCH v1 08/29] contrib/gitdm: add a group mapping for robot scanners, Alex Bennée, 2021/07/20
- [PATCH v1 13/29] contrib/gitdm: un-ironically add a mapping for LWN, Alex Bennée, 2021/07/20
- [PATCH v1 09/29] gitdm.config: sort the corporate GroupMap entries, Alex Bennée, 2021/07/20
- [PATCH v1 12/29] contrib/gitdm: add domain-map/group-map for Wind River, Alex Bennée, 2021/07/20
- [PATCH v1 10/29] contrib/gitdm: add domain-map/group-map mappings for Samsung, Alex Bennée, 2021/07/20
- [PATCH v1 23/29] plugins/cache: Fixed "function decl. is not a prototype" warnings, Alex Bennée, 2021/07/20