diff mbox

[5/5] setup-environment: improve MACHINE display

Message ID 1396217092-30829-6-git-send-email-trevor.woerner@linaro.org
State New
Headers show

Commit Message

Trevor Woerner March 30, 2014, 10:04 p.m. UTC
If an invalid machine is specified, do a better job at listing the supported
MACHINEs.

was:
Supported machines: cgtqmx6 imx233-olinuxino-maxi imx233-olinuxino-micro
imx233-olinuxino-mini imx6qsabrelite nitrogen6x wandboard-dual wandboard-solo
imx23evk imx28evk imx31pdk imx35pdk imx51evk imx53ard imx53qsb imx6dlsabresd
imx6qsabreauto imx6qsabresd imx6slevk

now:
Supported machines:
        cfa10036
        cfa10037
        cfa10049
        cfa10055
        cfa10056
        cfa10057
        cfa10058
        cgtqmx6
        imx233-olinuxino-maxi
        imx233-olinuxino-micro
        imx233-olinuxino-mini
        imx6qsabrelite
        m28evk
        m53evk
        nitrogen6x-lite
        nitrogen6x
        wandboard-dual
        wandboard-quad
        wandboard-solo
        imx23evk
        imx28evk
        imx31pdk
        imx35pdk
        imx51evk
        imx53ard
        imx53qsb
        imx6dlsabreauto
        imx6dlsabresd
        imx6qsabreauto
        imx6qsabresd
        imx6slevk
        imx6solosabreauto
        imx6solosabresd
        twr-vf65gs10

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 setup-environment | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/setup-environment b/setup-environment
index 43b1489..edb86f7 100644
--- a/setup-environment
+++ b/setup-environment
@@ -31,8 +31,8 @@  usage()
 
 If undefined, this script will set \$MACHINE to 'imx6qsabresd'.
 
-Supported machines: `ls sources/*/conf/machine/*.conf \
-| sed s/\.conf//g | sed -r 's/^.+\///' | xargs echo`
+Supported machines: `echo; ls sources/*/conf/machine/*.conf \
+| sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
 
 To build for a machine listed above, run this script as:
 MACHINE=<machine> source $PROGNAME <build-dir>