summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-builddir
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-12-09 16:32:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-13 22:55:20 +0000
commit8351dc41a4904f90f31b70c210508f532deff7fc (patch)
tree4fca2df136e02785879f2896a2fc0a72b1852ee6 /scripts/oe-setup-builddir
parent78087eba73ea073398f7d7457a5722da0c8b3001 (diff)
downloadpoky-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/oe-setup-builddir')
-rwxr-xr-xscripts/oe-setup-builddir8
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
24fi 24fi
25 25
26if [ "$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
32fi
33
26mkdir -p "$BUILDDIR/conf" 34mkdir -p "$BUILDDIR/conf"
27 35
28if [ ! -d "$BUILDDIR" ]; then 36if [ ! -d "$BUILDDIR" ]; then