summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-740ea68258282c459b66bbed550e6347fb8e83a3.tar.gz
openembedded-core-740ea68258282c459b66bbed550e6347fb8e83a3.tar.bz2
openembedded-core-740ea68258282c459b66bbed550e6347fb8e83a3.tar.xz
openembedded-core-740ea68258282c459b66bbed550e6347fb8e83a3.zip
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 90151fb7b..82590f201 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -38,6 +38,7 @@ else
. $OEROOT/scripts/poky-env-internal
$OEROOT/scripts/poky-setup-builddir
unset OEROOT
+ unset BBPATH
[ -n "$BUILDDIR" ] && cd $BUILDDIR
fi