summaryrefslogtreecommitdiffstats
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 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