[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 4/8] configure: also skip deprecated targets with target-list-
From: |
Alex Bennée |
Subject: |
[PATCH v2 4/8] configure: also skip deprecated targets with target-list-exclude |
Date: |
Tue, 15 Sep 2020 14:43:13 +0100 |
Now the user has to make an even more deliberate decision to
enable a deprecated target rather than getting it as a side effect of
using --target-exclude-list.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 51d03a8d340f..f5fe48d6dd7b 100755
--- a/configure
+++ b/configure
@@ -1729,9 +1729,14 @@ if [ "$bsd_user" = "yes" ]; then
mak_wilds="${mak_wilds} $source_path/default-configs/*-bsd-user.mak"
fi
-if test -z "$target_list_exclude" -a -z "$target_list"; then
- # if the user doesn't specify anything lets skip deprecating stuff
- target_list_exclude=$deprecated_targets_list
+# If the user doesn't explicitly specify a deprecated target we will
+# skip it.
+if test -z "$target_list"; then
+ if test -z "$target_list_exclude"; then
+ target_list_exclude="$deprecated_targets_list"
+ else
+ target_list_exclude="$target_list_exclude,$deprecated_targets_list"
+ fi
fi
exclude_list=$(echo "$target_list_exclude" | sed -e 's/,/ /g')
--
2.20.1
- [PATCH v2 0/8] configure deprecation, linux-user and iotest fixes, Alex Bennée, 2020/09/15
- [PATCH v2 1/8] linux-user: test, don't assert addr != test in pgb_reserved_va, Alex Bennée, 2020/09/15
- [PATCH v2 3/8] configure: move deprecated feature processing to supported_target, Alex Bennée, 2020/09/15
- [PATCH v2 2/8] iotests: Drop readlink -f, Alex Bennée, 2020/09/15
- [PATCH v2 4/8] configure: also skip deprecated targets with target-list-exclude,
Alex Bennée <=
- [PATCH v2 6/8] configure: include tilegx-linux-user in the deprecation logic, Alex Bennée, 2020/09/15
- [PATCH v2 5/8] configure: clean-up the target-list-exclude logic, Alex Bennée, 2020/09/15
- [PATCH v2 7/8] gitlab: create a build-deprecated target, Alex Bennée, 2020/09/15
- [PATCH v2 8/8] configure: add [lm32|unicore32]-softmmu to deprecation logic, Alex Bennée, 2020/09/15