diff options
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 |
