summaryrefslogtreecommitdiffstats
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
parent72d29794cc9fdcf724481d4fe7f78b22748e9cf4 (diff)
downloadpoky-f927cf6903ea9bf737ad0f1bd819899c8eb928d3.tar.gz
poky-init-build-env: add $HOME/.poky
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@668 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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
30# 30#
31OEROOT=`pwd` 31OEROOT=`pwd`
32 32
33SITEDIR=$HOME/.oe/
34BBDIR=$OEROOT/bitbake/ 33BBDIR=$OEROOT/bitbake/
35PKGDIR=$OEROOT/meta/ 34PKGDIR=$OEROOT/meta/
36BUILDDIR=$OEROOT/build/ 35BUILDDIR=$OEROOT/build/
@@ -41,7 +40,6 @@ PATH=$BBDIR/bin/:$PATH
41cd $BUILDDIR 40cd $BUILDDIR
42 41
43# Remove any symlinks from paths 42# Remove any symlinks from paths
44SITEDIR=`readlink -f $SITEDIR`
45BBDIR=`readlink -f $BBDIR` 43BBDIR=`readlink -f $BBDIR`
46PKGDIR=`readlink -f $PKGDIR` 44PKGDIR=`readlink -f $PKGDIR`
47BUILDDIR=`readlink -f $BUILDDIR` 45BUILDDIR=`readlink -f $BUILDDIR`
@@ -55,9 +53,7 @@ BBPATH=$BBDIR
55if test x"$BBDIR" != x"$PKGDIR"; then 53if test x"$BBDIR" != x"$PKGDIR"; then
56 BBPATH=$PKGDIR:$BBPATH 54 BBPATH=$PKGDIR:$BBPATH
57fi 55fi
58if test x"$SITEDIR" != x"$SITEDIR" && test -d $SITEDIR; then 56BBPATH="`readlink -f $HOME/.oe`:`readlink -f $HOME/.poky`:$BBPATH"
59 BBPATH=$SITEDIR:$BBPATH
60fi
61if test x"$PKGDIR" != x"$BUILDDIR"; then 57if test x"$PKGDIR" != x"$BUILDDIR"; then
62 BBPATH=$BUILDDIR:$BBPATH 58 BBPATH=$BUILDDIR:$BBPATH
63fi 59fi