From f4a8621a19550e4168a45e69386c82f031aa37f1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 17 Nov 2006 10:52:26 +0000 Subject: 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 --- poky-init-build-env | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/poky-init-build-env b/poky-init-build-env index c2f2c0440..45b41087a 100755 --- a/poky-init-build-env +++ b/poky-init-build-env @@ -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 -- cgit v1.2.3