From 337e67cf191963f70006e0ccda90cea2394dbcca Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 20 Jul 2010 11:50:09 -0700 Subject: [PATCH] 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 --- conf/bitbake.conf | 2 +- conf/local.conf.sample | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 01192948f7..69d00e2194 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 6f2fea6ef1..60c10e4219 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 = "" -- 2.39.5