From 61a86ab28043911d7d929d3c1a1c1b0d38619209 Mon Sep 17 00:00:00 2001 From: Florian Boor Date: Mon, 13 Aug 2018 01:03:03 +0200 Subject: [PATCH] setup-environment: Update usage instructions to current reality --- setup-environment | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/setup-environment b/setup-environment index 2eb82e0..4efec1c 100755 --- a/setup-environment +++ b/setup-environment @@ -27,14 +27,16 @@ PROGNAME="setup-environment" usage() { echo -e " +Usage: . $PROGNAME Usage: MACHINE= DISTRO= source $PROGNAME Usage: source $PROGNAME machine name - distro name + distribution name build directory The first usage is for creating a new build directory. In this case, the -script creates the build directory , configures it for the +script creates the build directory and confgures it according +to the supplied sdkdefaults.conf. Optionally it configures it for the specified and , 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: +- 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 use an existing Yocto build directory: - $ . $PROGNAME build " fi } -- 2.39.2