[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Print out components which are skipped because unsupported on a given platform



Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.