[OE-core] [PATCH 3/3] gcc-runtime: Add --cache-file to EXTRA_OECONF

Robert Yang liezhi.yang at windriver.com
Fri Jan 25 06:10:49 UTC 2019



On 1/25/19 12:23 PM, Khem Raj wrote:
> On Thu, Jan 24, 2019 at 2:00 AM Robert Yang <liezhi.yang at windriver.com> wrote:
>>
>> This can save configure time since it runs configure multiple times:
>> $ time bitbake gcc-runtime -cconfigure
>>    60s -> 54s
>>
>>    Saved 6s
> 
> looks ok. Are we sure this file is preserved across builds

Sorry, what did you mean about preserved across builds, please ?

// Robert

>>
>> Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
>> ---
>>   meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
>> index 50ecc81..3d03d8e 100644
>> --- a/meta/recipes-devtools/gcc/gcc-runtime.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
>> @@ -15,6 +15,7 @@ EXTRA_OECONF_PATHS = "\
>>   "
>>
>>   EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
>> +EXTRA_OECONF_append = " --cache-file=${B}/config.cache"
>>
>>   RUNTIMELIBITM = "libitm"
>>   RUNTIMELIBITM_arc = ""
>> --
>> 2.10.2
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 


More information about the Openembedded-core mailing list