diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-12-09 16:32:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-13 22:55:20 +0000 |
commit | 8351dc41a4904f90f31b70c210508f532deff7fc (patch) | |
tree | 4fca2df136e02785879f2896a2fc0a72b1852ee6 /scripts | |
parent | 78087eba73ea073398f7d7457a5722da0c8b3001 (diff) | |
download | poky-8351dc41a4904f90f31b70c210508f532deff7fc.tar.gz |
oe-setup-builddir: create usage output
Created usage output for oe-setup-builddir script.
[YOCTO #10751]
(From OE-Core rev: 77606455df7d45fd014c3603e1cf1b24efd37695)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-setup-builddir | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index e53f73c9ce..ef495517aa 100755 --- a/scripts/oe-setup-builddir +++ b/scripts/oe-setup-builddir | |||
@@ -23,6 +23,14 @@ if [ -z "$BUILDDIR" ]; then | |||
23 | exit 1 | 23 | exit 1 |
24 | fi | 24 | fi |
25 | 25 | ||
26 | if [ "$1" = '--help' -o "$1" = '-h' ]; then | ||
27 | echo 'Usage: oe-setup-builddir' | ||
28 | echo '' | ||
29 | echo "OpenEmbedded setup-builddir - setup build directory $BUILDDIR" | ||
30 | echo '' | ||
31 | exit 2 | ||
32 | fi | ||
33 | |||
26 | mkdir -p "$BUILDDIR/conf" | 34 | mkdir -p "$BUILDDIR/conf" |
27 | 35 | ||
28 | if [ ! -d "$BUILDDIR" ]; then | 36 | if [ ! -d "$BUILDDIR" ]; then |