diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-17 10:52:26 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-17 10:52:26 +0000 |
commit | f4a8621a19550e4168a45e69386c82f031aa37f1 (patch) | |
tree | 9b82d0f49737b6092e7b94f6b99be3fd138a7429 /poky-init-build-env | |
parent | e389104c2c81e5e7909d97336e9b5137d47963cc (diff) | |
download | poky-f4a8621a19550e4168a45e69386c82f031aa37f1.tar.gz |
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
Diffstat (limited to 'poky-init-build-env')
-rwxr-xr-x | poky-init-build-env | 8 |
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/ | |||
35 | BUILDDIR=$OEROOT/build/ | 35 | BUILDDIR=$OEROOT/build/ |
36 | MSG='' | 36 | MSG='' |
37 | 37 | ||
38 | PATH=$BBDIR/bin/:$PATH | 38 | BUILD_ARCH=`uname -m` |
39 | BUILD_OS=`uname | tr [A-Z] [a-z]` | ||
40 | BUILD_SYS=$BUILD_ARCH-$BUILD_OS | ||
41 | |||
42 | PATH=$BBDIR/bin/:$OEROOT/scripts:$PATH | ||
39 | 43 | ||
40 | cd $BUILDDIR | 44 | cd $BUILDDIR |
41 | 45 | ||
@@ -61,7 +65,7 @@ BBPATH="`readlink -f $HOME/.oe`:`readlink -f $HOME/.poky`:$BBPATH" | |||
61 | if test x"$PKGDIR" != x"$BUILDDIR"; then | 65 | if test x"$PKGDIR" != x"$BUILDDIR"; then |
62 | BBPATH=$BUILDDIR:$BBPATH | 66 | BBPATH=$BUILDDIR:$BBPATH |
63 | fi | 67 | fi |
64 | export BBPATH | 68 | export 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 |