[OE-core] [PATCH 0/2] bitbake.conf: gracefully work with ccache environment variables

Jason Wessel jason.wessel at windriver.com
Mon May 14 16:49:12 UTC 2012


On 05/14/2012 11:09 AM, Jason Wessel wrote:
> The end user of oe-core should be free to turn off ccache, or use an
> external ccache without impacting the sstate sums.
> 
> Example of using a different ccache directory via local.conf
> 
> CCACHE_DIR = "/tmp/ccache"
> 
> Example of turning off ccache:
> 
> export CCACHE_DISABLE = "1"
> BB_HASHBASE_WHITELIST += "CCACHE_DISABLE"


Oops.  I got this totally wrong...  It is bogus to move around the defaults in the core bitbake.conf.

All that needs to be done for the second case is to add to my local.conf:

export CCACHE_DISABLE = "1"
BB_HASHBASE_WHITELIST_append += "CCACHE_DISABLE"

And that doesn't require any changes to the bitbake.conf.

Sorry for the noise.   I'll send a patch just to add CCACHE_DIR to the BB_HASHBASE_WHITELIST.

Cheers,
Jason.






More information about the Openembedded-core mailing list