diff options
| author | Chris Larson <kergoth@openedhand.com> | 2006-08-28 12:06:39 +0000 |
|---|---|---|
| committer | Chris Larson <kergoth@openedhand.com> | 2006-08-28 12:06:39 +0000 |
| commit | f927cf6903ea9bf737ad0f1bd819899c8eb928d3 (patch) | |
| tree | 272f0523ff1487e60ee02818d6be527bdedf6af4 | |
| parent | 72d29794cc9fdcf724481d4fe7f78b22748e9cf4 (diff) | |
| download | poky-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-x | poky-init-build-env | 6 |
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 | # |
| 31 | OEROOT=`pwd` | 31 | OEROOT=`pwd` |
| 32 | 32 | ||
| 33 | SITEDIR=$HOME/.oe/ | ||
| 34 | BBDIR=$OEROOT/bitbake/ | 33 | BBDIR=$OEROOT/bitbake/ |
| 35 | PKGDIR=$OEROOT/meta/ | 34 | PKGDIR=$OEROOT/meta/ |
| 36 | BUILDDIR=$OEROOT/build/ | 35 | BUILDDIR=$OEROOT/build/ |
| @@ -41,7 +40,6 @@ PATH=$BBDIR/bin/:$PATH | |||
| 41 | cd $BUILDDIR | 40 | cd $BUILDDIR |
| 42 | 41 | ||
| 43 | # Remove any symlinks from paths | 42 | # Remove any symlinks from paths |
| 44 | SITEDIR=`readlink -f $SITEDIR` | ||
| 45 | BBDIR=`readlink -f $BBDIR` | 43 | BBDIR=`readlink -f $BBDIR` |
| 46 | PKGDIR=`readlink -f $PKGDIR` | 44 | PKGDIR=`readlink -f $PKGDIR` |
| 47 | BUILDDIR=`readlink -f $BUILDDIR` | 45 | BUILDDIR=`readlink -f $BUILDDIR` |
| @@ -55,9 +53,7 @@ BBPATH=$BBDIR | |||
| 55 | if test x"$BBDIR" != x"$PKGDIR"; then | 53 | if test x"$BBDIR" != x"$PKGDIR"; then |
| 56 | BBPATH=$PKGDIR:$BBPATH | 54 | BBPATH=$PKGDIR:$BBPATH |
| 57 | fi | 55 | fi |
| 58 | if test x"$SITEDIR" != x"$SITEDIR" && test -d $SITEDIR; then | 56 | BBPATH="`readlink -f $HOME/.oe`:`readlink -f $HOME/.poky`:$BBPATH" |
| 59 | BBPATH=$SITEDIR:$BBPATH | ||
| 60 | fi | ||
| 61 | if test x"$PKGDIR" != x"$BUILDDIR"; then | 57 | if test x"$PKGDIR" != x"$BUILDDIR"; then |
| 62 | BBPATH=$BUILDDIR:$BBPATH | 58 | BBPATH=$BUILDDIR:$BBPATH |
| 63 | fi | 59 | fi |
