]> code.ossystems Code Review - openembedded-core.git/commitdiff
poky-init-build-env: add $HOME/.poky
authorChris Larson <kergoth@openedhand.com>
Mon, 28 Aug 2006 12:06:39 +0000 (12:06 +0000)
committerChris Larson <kergoth@openedhand.com>
Mon, 28 Aug 2006 12:06:39 +0000 (12:06 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@668 311d38ba-8fff-0310-9ca6-ca027cbcb966

poky-init-build-env

index b8e377d6bc7005ec1d63bdb838a2078078f388a8..b8ddc64dc5a368200d6a6e945ef249a34f0d4889 100755 (executable)
@@ -30,7 +30,6 @@ fi
 #
 OEROOT=`pwd`
 
-SITEDIR=$HOME/.oe/
 BBDIR=$OEROOT/bitbake/
 PKGDIR=$OEROOT/meta/
 BUILDDIR=$OEROOT/build/
@@ -41,7 +40,6 @@ PATH=$BBDIR/bin/:$PATH
 cd $BUILDDIR
 
 # Remove any symlinks from paths
-SITEDIR=`readlink -f $SITEDIR`
 BBDIR=`readlink -f $BBDIR`
 PKGDIR=`readlink -f $PKGDIR`
 BUILDDIR=`readlink -f $BUILDDIR`
@@ -55,9 +53,7 @@ BBPATH=$BBDIR
 if test x"$BBDIR" != x"$PKGDIR"; then
        BBPATH=$PKGDIR:$BBPATH
 fi
-if test x"$SITEDIR" != x"$SITEDIR" && test -d $SITEDIR; then
-       BBPATH=$SITEDIR:$BBPATH
-fi
+BBPATH="`readlink -f $HOME/.oe`:`readlink -f $HOME/.poky`:$BBPATH"
 if test x"$PKGDIR" != x"$BUILDDIR"; then
        BBPATH=$BUILDDIR:$BBPATH
 fi