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 2011-01-17 22:12:38 -02:00 committed by Richard Purdie
parent 72b452ecf2
commit 740ea68258
1 changed files with 1 additions and 0 deletions

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