diff options
author | Alex Bennée | 2020-09-15 15:43:13 +0200 |
---|---|---|
committer | Alex Bennée | 2020-09-16 11:07:01 +0200 |
commit | 3a5ae4a936c9b80ec137b569d08662ddbbd0c1a8 (patch) | |
tree | c5026ed33c0042c827656f34422966396aff00a1 /configure | |
parent | configure: move deprecated feature processing to supported_target (diff) | |
download | qemu-3a5ae4a936c9b80ec137b569d08662ddbbd0c1a8.tar.gz qemu-3a5ae4a936c9b80ec137b569d08662ddbbd0c1a8.tar.xz qemu-3a5ae4a936c9b80ec137b569d08662ddbbd0c1a8.zip |
configure: also skip deprecated targets with target-list-exclude
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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200915134317.11110-5-alex.bennee@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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') |