aboutsummaryrefslogtreecommitdiffstats
path: root/poky-init-build-env
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-08-28 12:06:39 +0000
committerChris Larson <kergoth@openedhand.com>2006-08-28 12:06:39 +0000
commitf927cf6903ea9bf737ad0f1bd819899c8eb928d3 (patch)
tree272f0523ff1487e60ee02818d6be527bdedf6af4 /poky-init-build-env
parent72d29794cc9fdcf724481d4fe7f78b22748e9cf4 (diff)
downloadpoky-f927cf6903ea9bf737ad0f1bd819899c8eb928d3.tar.gz
poky-f927cf6903ea9bf737ad0f1bd819899c8eb928d3.tar.bz2
poky-f927cf6903ea9bf737ad0f1bd819899c8eb928d3.zip
poky-init-build-env: add $HOME/.poky
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@668 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'poky-init-build-env')
-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 b8e377d6bc..b8ddc64dc5 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