]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-init-build-env: unset BBPATH
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 18 Jan 2011 00:12:38 +0000 (22:12 -0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Jan 2011 00:20:21 +0000 (00:20 +0000)
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>
poky-init-build-env

index 90151fb7bbdf60d935e1cfdc1fe5c85abd4ec1f0..82590f2012719e5816707aaf2311d66a373055b8 100755 (executable)
@@ -38,6 +38,7 @@ else
    . $OEROOT/scripts/poky-env-internal
    $OEROOT/scripts/poky-setup-builddir
    unset OEROOT
+   unset BBPATH
    [ -n "$BUILDDIR" ] && cd $BUILDDIR
 fi