summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpoky-init-build-env8
1 files changed, 6 insertions, 2 deletions
diff --git a/poky-init-build-env b/poky-init-build-env
index c2f2c04406..45b41087a3 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -35,7 +35,11 @@ PKGDIR=$OEROOT/meta/
35BUILDDIR=$OEROOT/build/ 35BUILDDIR=$OEROOT/build/
36MSG='' 36MSG=''
37 37
38PATH=$BBDIR/bin/:$PATH 38BUILD_ARCH=`uname -m`
39BUILD_OS=`uname | tr [A-Z] [a-z]`
40BUILD_SYS=$BUILD_ARCH-$BUILD_OS
41
42PATH=$BBDIR/bin/:$OEROOT/scripts:$PATH
39 43
40cd $BUILDDIR 44cd $BUILDDIR
41 45
@@ -61,7 +65,7 @@ BBPATH="`readlink -f $HOME/.oe`:`readlink -f $HOME/.poky`:$BBPATH"
61if test x"$PKGDIR" != x"$BUILDDIR"; then 65if test x"$PKGDIR" != x"$BUILDDIR"; then
62 BBPATH=$BUILDDIR:$BBPATH 66 BBPATH=$BUILDDIR:$BBPATH
63fi 67fi
64export BBPATH 68export BBPATH OEROOT BUILD_SYS BUILDDIR
65 69
66# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make 70# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make
67# install' if set 71# install' if set