diff options
-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 |