RFC: Deprecate MAKEALL
authorSimon Glass <sjg@chromium.org>
Thu, 28 Aug 2014 15:43:46 +0000 (09:43 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 14 Jul 2015 17:50:16 +0000 (13:50 -0400)
Since buildman now includes most of the features of MAKEALL it is probably
time to talk about deprecating MAKEALL.

Comments welcome.

Signed-off-by: Simon Glass <sjg@chromium.org>
MAKEALL

diff --git a/MAKEALL b/MAKEALL
index a6e378f..7e42f10 100755 (executable)
--- a/MAKEALL
+++ b/MAKEALL
@@ -60,6 +60,14 @@ usage()
        exit ${ret}
 }
 
+deprecation() {
+       echo "** Note: MAKEALL is deprecated - please use buildman instead"
+       echo "** See tools/buildman/README for details"
+       echo
+}
+
+deprecation
+
 SHORT_OPTS="ha:c:v:s:b:lmMCnr"
 LONG_OPTS="help,arch:,cpu:,vendor:,soc:,board:,list,maintainers,mails,check,continue,rebuild-errors"
 
@@ -827,6 +835,8 @@ print_stats() {
                kill_children
        fi
 
+       deprecation
+
        exit $RC
 }