diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-08-11 16:37:34 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-17 10:35:40 +0100 |
commit | 65ff9f5e0a8fb07379a384cba5c9510827fc6ae8 (patch) | |
tree | 901e00fc0d8ab6267e0b354e69b9c641d99c8fe0 /scripts/oe-buildenv-internal | |
parent | eea2de9c70b93a204cbc1063a4b5b03602098024 (diff) | |
download | poky-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-x | scripts/oe-buildenv-internal | 2 |
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") | |||
96 | BUILDDIR=$(readlink -f "$BUILDDIR") | 96 | BUILDDIR=$(readlink -f "$BUILDDIR") |
97 | 97 | ||
98 | if [ ! -d "$BITBAKEDIR" ]; then | 98 | if [ ! -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 |
101 | fi | 101 | fi |
102 | 102 | ||