summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <kergoth@openedhand.com>2006-08-27 09:07:44 +0000
committerChris Larson <kergoth@openedhand.com>2006-08-27 09:07:44 +0000
commit37d03b1b00610716b27259a42c8718c8628b2ad3 (patch)
tree6cde8f70b1f962b44b3e18098ef739cddc31d7a0
parentbd1b2b21bc9db64099e7f435b670f56ec1fda37c (diff)
downloadpoky-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
-rw-r--r--[-rwxr-xr-x]build/conf/local.conf (renamed from build/conf/local.conf.sample)12
-rwxr-xr-xpoky-init-build-env8
2 files changed, 7 insertions, 13 deletions
diff --git a/build/conf/local.conf.sample b/build/conf/local.conf
index 5de6ca64cc..83bd007f53 100755..100644
--- a/build/conf/local.conf.sample
+++ b/build/conf/local.conf
@@ -1,12 +1,12 @@
1# Where to cache the files OE downloads 1# Where to cache the files OE downloads
2DL_DIR = "POKYROOT/sources" 2DL_DIR = "${OEROOT}/sources"
3BBFILES := "POKYROOT/meta/packages/*/*.bb" 3BBFILES = "${OEROOT}/meta/packages/*/*.bb"
4 4
5# To enable extra packages, uncomment the following lines: 5# To enable extra packages, uncomment the following lines:
6# BBFILES := "POKYROOT/meta/packages/*/*.bb POKYROOT/meta-extras/packages/*/*.bb" 6# BBFILES := "${OEROOT}/meta/packages/*/*.bb ${OEROOT}/meta-extras/packages/*/*.bb"
7# BBFILE_COLLECTIONS = "normal extras" 7# BBFILE_COLLECTIONS = "normal extras"
8# BBFILE_PATTERN_normal = "^POKYROOT/meta/" 8# BBFILE_PATTERN_normal = "^${OEROOT}/meta/"
9# BBFILE_PATTERN_extras = "^POKYROOT/meta/" 9# BBFILE_PATTERN_extras = "^${OEROOT}/meta/"
10# BBFILE_PRIORITY_normal = "5" 10# BBFILE_PRIORITY_normal = "5"
11# BBFILE_PRIORITY_extras = "5" 11# BBFILE_PRIORITY_extras = "5"
12 12
@@ -34,7 +34,7 @@ DISTRO_TYPE = "debug"
34# Note that a full build of everything in OpenEmbedded will take GigaBytes of hard 34# Note that a full build of everything in OpenEmbedded will take GigaBytes of hard
35# disk space, so make sure to free enough space. The default TMPDIR is 35# disk space, so make sure to free enough space. The default TMPDIR is
36# <build directory>/tmp 36# <build directory>/tmp
37# TMPDIR = /usr/local/projects/oetmp 37TMPDIR = "${OEROOT}/build/tmp"
38 38
39# Uncomment these two if you want BitBake to build images useful for debugging. 39# Uncomment these two if you want BitBake to build images useful for debugging.
40# DEBUG_BUILD = "1" 40# DEBUG_BUILD = "1"
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
50fi 50fi
51 51
52if ! (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'"
56fi
57
58BBPATH=$BBDIR 52BBPATH=$BBDIR
59if test x"$BBDIR" != x"$PKGDIR"; then 53if test x"$BBDIR" != x"$PKGDIR"; then
60 BBPATH=$PKGDIR:$BBPATH 54 BBPATH=$PKGDIR:$BBPATH
@@ -74,4 +68,4 @@ export LANG=C
74 68
75echo 69echo
76echo "### Shell environment set up for Poky builds. ###" 70echo "### Shell environment set up for Poky builds. ###"
77echo \ No newline at end of file 71echo