[oe-commits] Tom Rini : bitbake.conf, local.conf.sample: Disable ccache by default

git version control git at git.openembedded.org
Tue Jul 20 18:51:46 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 337e67cf191963f70006e0ccda90cea2394dbcca
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=337e67cf191963f70006e0ccda90cea2394dbcca

Author: Tom Rini <tom_rini at mentor.com>
Date:   Tue Jul 20 11:50:09 2010 -0700

bitbake.conf, local.conf.sample: Disable ccache by default

This moves the current CCACHE over to local.conf.sample and documents
when it's useful to enable.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 conf/bitbake.conf      |    2 +-
 conf/local.conf.sample |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 0119294..69d00e2 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -420,7 +420,7 @@ export PATH
 # Build utility info.
 ##################################################################
 
-CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}"
+CCACHE ?= ""
 TOOLCHAIN_OPTIONS = ""
 TOOLCHAIN_PATH ?= "${CROSS_DIR}"
 TOOLCHAIN_SYSPATH ?= "${TOOLCHAIN_PATH}/${TARGET_SYS}"
diff --git a/conf/local.conf.sample b/conf/local.conf.sample
index 6f2fea6..60c10e4 100644
--- a/conf/local.conf.sample
+++ b/conf/local.conf.sample
@@ -123,6 +123,11 @@ IMAGE_FSTYPES = "jffs2 tar"
 # (Note that this rootfs is NOT usuable as NFS export.)
 # IMAGE_KEEPROOTFS = "1"
 
+# Uncomment this to enable the use of ccache when building.  Due to
+# the nature of our builds this is only helpful in cases when one
+# is rebuilding a recipe or set of recipes, repeatedly.
+# CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}"
+
 # Uncomment this to disable the parse cache (not recommended).
 # CACHE = ""
 





More information about the Openembedded-commits mailing list