|
From: | Michael Tokarev |
Subject: | Re: [PATCH v2 3/8] configure: move deprecated feature processing to supported_target |
Date: | Tue, 15 Sep 2020 16:51:28 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
15.09.2020 16:43, Alex Bennée wrote: > This is the common point at which we validate targets so it makes > sense to add_to deprecated_features here. It will make future target > deprecation easier as we only need to tweak one list. > > Signed-off-by: Alex Bennée <alex.bennee@linaro.org> > --- > configure | 14 ++++++++++---- > + > + # if a deprecated target is enabled we note it here > + if echo "$deprecated_targets_list" | grep -q "$1"; then > + add_to deprecated_features $1 > + fi case " $deprecated_targets_list " in (*" $1 "*) add_to deprecated_features $1;; esac JFYI, - there's nothing wrong with echo|grep, it will work about the same way.. :) /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |