[OE-core] [PATCH] bitbake: do not set CCACHE_DISABLE=0

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Sun Jul 22 11:03:34 UTC 2012


Richard Purdie
<richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r at public.gmane.org>
writes:

>> and requesting explicitly that user specifies
>> 
>>  | CCACHE_DISABLE[unexport] = "1"
>> 
>> in his .conf?  Sounds hacky and inconsistent and makes it impossible to
>> set CCACHE_DISABLE by external environment.
>
> The idea is that anyone enabling ccache would inherit the bbclass.

afais, the ccache.bbclass class is for assigning and cleaning some
(imho) strange CCACHE_DIR only which lowers efficiency significantly.

Normal ccache usage with a single CCACHE_DIR works fine (and much better)
without this class.


> The above could therefore be simplified to a hard ??= 1

for what is the '??=' ?  The value does not matter so it makes no sense
that the user can assign a value.


Enrico




More information about the Openembedded-core mailing list