summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-buildenv-internal5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 32c0ba02d6..01fffba625 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -24,6 +24,11 @@ if [ -z "$OEROOT" ]; then
24 return 1 24 return 1
25fi 25fi
26 26
27if [ ! -z "$OECORE_SDK_VERSION" ]; then
28 echo >&2 "Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script."
29 return 1
30fi
31
27if [ "x$BDIR" = "x" ]; then 32if [ "x$BDIR" = "x" ]; then
28 if [ "x$1" = "x" ]; then 33 if [ "x$1" = "x" ]; then
29 BDIR="build" 34 BDIR="build"