diff options
author | Chris Larson <kergoth@openedhand.com> | 2006-08-27 09:07:44 +0000 |
---|---|---|
committer | Chris Larson <kergoth@openedhand.com> | 2006-08-27 09:07:44 +0000 |
commit | 37d03b1b00610716b27259a42c8718c8628b2ad3 (patch) | |
tree | 6cde8f70b1f962b44b3e18098ef739cddc31d7a0 /poky-init-build-env | |
parent | bd1b2b21bc9db64099e7f435b670f56ec1fda37c (diff) | |
download | poky-37d03b1b00610716b27259a42c8718c8628b2ad3.tar.gz |
Directly make use of the OEROOT environment variable in the default local.conf, and set TMPDIR explicitly to avoid the requirement that one run bitbake from the build directory.
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@650 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'poky-init-build-env')
-rwxr-xr-x | poky-init-build-env | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/poky-init-build-env b/poky-init-build-env index 6cda775ffe..b9be03fb3c 100755 --- a/poky-init-build-env +++ b/poky-init-build-env | |||
@@ -49,12 +49,6 @@ if ! (test -d $BBDIR && test -d $PKGDIR && test -d $BUILDDIR); then | |||
49 | exit 1 | 49 | exit 1 |
50 | fi | 50 | fi |
51 | 51 | ||
52 | if ! (test -r $BUILDDIR/conf/local.conf); then | ||
53 | cat $BUILDDIR/conf/local.conf.sample | sed -e"s|POKYROOT|${OEROOT}|g" > $BUILDDIR/conf/local.conf | ||
54 | echo | ||
55 | echo "..Created initial 'build/conf/local.conf'" | ||
56 | fi | ||
57 | |||
58 | BBPATH=$BBDIR | 52 | BBPATH=$BBDIR |
59 | if test x"$BBDIR" != x"$PKGDIR"; then | 53 | if test x"$BBDIR" != x"$PKGDIR"; then |
60 | BBPATH=$PKGDIR:$BBPATH | 54 | BBPATH=$PKGDIR:$BBPATH |
@@ -74,4 +68,4 @@ export LANG=C | |||
74 | 68 | ||
75 | echo | 69 | echo |
76 | echo "### Shell environment set up for Poky builds. ###" | 70 | echo "### Shell environment set up for Poky builds. ###" |
77 | echo \ No newline at end of file | 71 | echo |