summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-07-26 05:57:21 +0000
committerChris Larson <clarson@kergoth.com>2004-07-26 05:57:21 +0000
commitc2ae14bfcb10ddc33e9cbe52f4511b33b0c06c0b (patch)
tree9f9b24f48f33dbaa7994c7cc308753ffed321429
parent0b55ce2513b7c42eae051c885bb8b7b9d9b15c51 (diff)
Move the default set of the CACHE variable into oe.conf, and change the
default cache location to be relative to» TMPDIR, since its bound to a specific build. BKrev: 41049d41DZ788e35VTVv5LWsvvX7Tg
-rw-r--r--conf/local.conf.sample4
-rw-r--r--conf/oe.conf2
2 files changed, 4 insertions, 2 deletions
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
index f3cfa3f5bf..eb31360cdb 100644
--- a/conf/local.conf.sample
+++ b/conf/local.conf.sample
@@ -103,8 +103,8 @@ PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
#IMAGE_FSTYPE = "tar"
#IMAGE_FSTYPE = "cramfs"
-# Comment this out if you do not wish to use a parse cache (not recommended).
-CACHE=/var/tmp/oe-cache.${USER}
+# Uncomment this to disable the parse cache (not recommended).
+# CACHE = ""
# Uncomment this if you want OE to emit debugging output
#OEDEBUG = "yes"
diff --git a/conf/oe.conf b/conf/oe.conf
index 51042f47d0..f30a3dfa5b 100644
--- a/conf/oe.conf
+++ b/conf/oe.conf
@@ -48,6 +48,8 @@ DATETIME = "${DATE}${TIME}"
# Defaults to today.
CVSDATE = "${DATE}"
+CACHE = "${TMPDIR}/cache"
+
###
### Package default variables
###