summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-08-11 16:37:34 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:35:40 +0100
commit65ff9f5e0a8fb07379a384cba5c9510827fc6ae8 (patch)
tree901e00fc0d8ab6267e0b354e69b9c641d99c8fe0 /scripts/oe-buildenv-internal
parenteea2de9c70b93a204cbc1063a4b5b03602098024 (diff)
downloadpoky-65ff9f5e0a8fb07379a384cba5c9510827fc6ae8.tar.gz
oe-buildenv-internal: hint at specifying bitbake path in error message
If you check out OE-Core and then run oe-init-build-env you get an error about not having bitbake checked out in a "bitbake" subdirectory, however it's possible to specify the bitbake path on the oe-init-build-env command line, so hint at that in the error message rather than implying it has to be in the default location. (From OE-Core rev: 5a1efa91a418e3206b047564d0fd6d5bac22a8d3) Signed-off-by: Paul Eggleton <paul.eggleton@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-buildenv-internal')
-rwxr-xr-xscripts/oe-buildenv-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 03dc50ff91..9fae3b4ec3 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -96,7 +96,7 @@ BITBAKEDIR=$(readlink -f "$BITBAKEDIR")
96BUILDDIR=$(readlink -f "$BUILDDIR") 96BUILDDIR=$(readlink -f "$BUILDDIR")
97 97
98if [ ! -d "$BITBAKEDIR" ]; then 98if [ ! -d "$BITBAKEDIR" ]; then
99 echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist! Please ensure a copy of bitbake exists at this location" 99 echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist! Please ensure a copy of bitbake exists at this location or specify an alternative path on the command line"
100 return 1 100 return 1
101fi 101fi
102 102