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>
This commit is contained in:
Otavio Salvador authored and Richard Purdie committed 2011-01-18 00:20:21 +00:00
1 parent 72b452ecf2
commit 740ea68258
1 file changed
+1
+1
View File
@@ -38,6 +38,7 @@ else
. $OEROOT/scripts/poky-env-internal
$OEROOT/scripts/poky-setup-builddir
unset OEROOT
unset BBPATH
[ -n "$BUILDDIR" ] && cd $BUILDDIR
fi