From: Stefano Stabellini Subject: [PATCH] Print out components which are skipped because unsupported on a given platform Date: Wed, 14 Oct 2015 16:57:26 +0100 Message-ID: <1444838247-30253-1-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: stefano.stabellini@eu.citrix.com Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Signed-off-by: Stefano Stabellini --- lib/common-functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/common-functions.sh b/lib/common-functions.sh index 03642ae..27f6434 100644 --- a/lib/common-functions.sh +++ b/lib/common-functions.sh @@ -301,11 +301,16 @@ function for_each_component () { break fi done - if ! $found || "$component"_skip + if ! $found then verbose_echo "$component" is disabled continue fi + if "$component"_skip + then + error_echo "$component" will be skipped on your platform + continue + fi echo "$PREPEND" calling "$component"_"$1" if [[ $VERBOSE -eq 0 ]] -- 1.7.9.5