]> git.karo-electronics.de Git - meta-tx09.git/commitdiff
setup-environment: Update usage instructions to current reality
authorFlorian Boor <florian@kernelconcepts.de>
Sun, 12 Aug 2018 23:03:03 +0000 (01:03 +0200)
committerFlorian Boor <florian@kernelconcepts.de>
Sun, 12 Aug 2018 23:03:03 +0000 (01:03 +0200)
setup-environment

index 2eb82e067fc83b23ff1956a5857243dee90d070d..4efec1c64a2373094eac37f2ee902d6fa87e13a6 100755 (executable)
@@ -27,14 +27,16 @@ PROGNAME="setup-environment"
 usage()
 {
     echo -e "
 usage()
 {
     echo -e "
+Usage: . $PROGNAME <build-dir>
 Usage: MACHINE=<machine> DISTRO=<distro> source $PROGNAME <build-dir>
 Usage:                                   source $PROGNAME <build-dir>
     <machine>    machine name
 Usage: MACHINE=<machine> DISTRO=<distro> source $PROGNAME <build-dir>
 Usage:                                   source $PROGNAME <build-dir>
     <machine>    machine name
-    <distro>     distro name
+    <distro>     distribution name
     <build-dir>  build directory
 
 The first usage is for creating a new build directory. In this case, the
     <build-dir>  build directory
 
 The first usage is for creating a new build directory. In this case, the
-script creates the build directory <build-dir>, configures it for the
+script creates the build directory <build-dir> and confgures it according
+to the supplied sdkdefaults.conf. Optionally it configures it for the
 specified <machine> and <distro>, and prepares the calling shell for running
 bitbake on the build directory.
 
 specified <machine> and <distro>, and prepares the calling shell for running
 bitbake on the build directory.
 
@@ -55,11 +57,13 @@ Available Poky's distros: `echo; ls yocto/poky/meta-poky/conf/distro/*.conf \
 
 Examples:
 
 
 Examples:
 
+- To use an existing Yocto build directory or create a new buil dir using 
+  the supplied defaults.
+  $ . $PROGNAME build
+  
 - To create a new Yocto build directory:
   $ MACHINE=tx6q-xxxx DISTRO=poky . $PROGNAME build
 
 - To create a new Yocto build directory:
   $ MACHINE=tx6q-xxxx DISTRO=poky . $PROGNAME build
 
-- To use an existing Yocto build directory:
-  $ . $PROGNAME build
 "
     fi
 }
 "
     fi
 }