summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env-memres
diff options
context:
space:
mode:
Diffstat (limited to 'oe-init-build-env-memres')
-rwxr-xr-xoe-init-build-env-memres10
1 files changed, 7 insertions, 3 deletions
diff --git a/oe-init-build-env-memres b/oe-init-build-env-memres
index 9d393f5812..9e1425ea83 100755
--- a/oe-init-build-env-memres
+++ b/oe-init-build-env-memres
@@ -56,11 +56,15 @@ fi
56unset THIS_SCRIPT 56unset THIS_SCRIPT
57 57
58export OEROOT 58export OEROOT
59. $OEROOT/scripts/oe-buildenv-internal && \ 59. $OEROOT/scripts/oe-buildenv-internal &&
60 TEMPLATECONF="$TEMPLATECONF" $OEROOT/scripts/oe-setup-builddir && \ 60 TEMPLATECONF="$TEMPLATECONF" $OEROOT/scripts/oe-setup-builddir || {
61 [ -n "$BUILDDIR" ] && cd "$BUILDDIR" 61 unset OEROOT
62 return 1
63}
62unset OEROOT 64unset OEROOT
63 65
66[ -z "$BUILDDIR" ] || cd "$BUILDDIR"
67
64res=1 68res=1
65if [ -e bitbake.lock ] && grep : bitbake.lock > /dev/null; then 69if [ -e bitbake.lock ] && grep : bitbake.lock > /dev/null; then
66 BBSERVER=$(cat bitbake.lock) bitbake --status-only 70 BBSERVER=$(cat bitbake.lock) bitbake --status-only