poky-init-build-env: Add scripts dir to the PATH, export BUILDDIR and OEROOT, add BUILD_SYS variable

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@866 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2006-11-17 10:52:26 +00:00
parent e389104c2c
commit f4a8621a19
1 changed files with 6 additions and 2 deletions

View File

@ -35,7 +35,11 @@ PKGDIR=$OEROOT/meta/
BUILDDIR=$OEROOT/build/
MSG=''
PATH=$BBDIR/bin/:$PATH
BUILD_ARCH=`uname -m`
BUILD_OS=`uname | tr [A-Z] [a-z]`
BUILD_SYS=$BUILD_ARCH-$BUILD_OS
PATH=$BBDIR/bin/:$OEROOT/scripts:$PATH
cd $BUILDDIR
@ -61,7 +65,7 @@ BBPATH="`readlink -f $HOME/.oe`:`readlink -f $HOME/.poky`:$BBPATH"
if test x"$PKGDIR" != x"$BUILDDIR"; then
BBPATH=$BUILDDIR:$BBPATH
fi
export BBPATH
export BBPATH OEROOT BUILD_SYS BUILDDIR
# Kill off the TERMINFO variable, as glibc will grab its contents in its 'make
# install' if set