summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-01-17 22:12:38 -0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-18 00:20:21 +0000
commit740ea68258282c459b66bbed550e6347fb8e83a3 (patch)
treeff29304bfbf59e0192932581554e019f66839bc4
parent72b452ecf20431726bf36a8142a117b38d36e224 (diff)
downloadpoky-740ea68258282c459b66bbed550e6347fb8e83a3.tar.gz
poky-init-build-env: unset BBPATH
When using OpenEmbedded and Yocto I had it previously set to OE and this made bitbake to get confused. This was difficult to figure out and then it seems safer and cleaner if the script unset it to avoid this confusing behaviour. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xpoky-init-build-env1
1 files changed, 1 insertions, 0 deletions
diff --git a/poky-init-build-env b/poky-init-build-env
index 90151fb7bb..82590f2012 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -38,6 +38,7 @@ else
38 . $OEROOT/scripts/poky-env-internal 38 . $OEROOT/scripts/poky-env-internal
39 $OEROOT/scripts/poky-setup-builddir 39 $OEROOT/scripts/poky-setup-builddir
40 unset OEROOT 40 unset OEROOT
41 unset BBPATH
41 [ -n "$BUILDDIR" ] && cd $BUILDDIR 42 [ -n "$BUILDDIR" ] && cd $BUILDDIR
42fi 43fi
43 44