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>
This commit is contained in:
parent
94ce373aa4
commit
3a5ae4a936
|
@ -1729,9 +1729,14 @@ if [ "$bsd_user" = "yes" ]; then
|
||||||
mak_wilds="${mak_wilds} $source_path/default-configs/*-bsd-user.mak"
|
mak_wilds="${mak_wilds} $source_path/default-configs/*-bsd-user.mak"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -z "$target_list_exclude" -a -z "$target_list"; then
|
# If the user doesn't explicitly specify a deprecated target we will
|
||||||
# if the user doesn't specify anything lets skip deprecating stuff
|
# skip it.
|
||||||
target_list_exclude=$deprecated_targets_list
|
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
|
fi
|
||||||
|
|
||||||
exclude_list=$(echo "$target_list_exclude" | sed -e 's/,/ /g')
|
exclude_list=$(echo "$target_list_exclude" | sed -e 's/,/ /g')
|
||||||
|
|
Loading…
Reference in New Issue