summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpoky-init-build-env6
1 files changed, 1 insertions, 5 deletions
diff --git a/poky-init-build-env b/poky-init-build-env
index b8e377d6b..b8ddc64dc 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -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