[oe] CONFIG_SITE usage

Chris Larson clarson at kergoth.com
Tue Feb 21 22:09:44 UTC 2012


On Tue, Feb 21, 2012 at 2:15 PM, Giuseppe Condorelli
<giuseppe.condorelli at gmail.com> wrote:
> Il giorno martedì 21 febbraio 2012, Chris Larson ha scritto:
>
>> On Tue, Feb 21, 2012 at 3:48 AM, Giuseppe Condorelli
>> <giuseppe.condorelli at gmail.com <javascript:;>> wrote:
>> > I'm in trouble trying to set CONFIG_SITE to allow my build process to
>> load
>> > cache from a given file. I've understood CONFIG_SITE can be set from .bb
>> > file, but I'm wondering if it could be set on local.conf or
>> distro/machine
>> > conf file to be inherited by all packages.
>>
>> CONFIG_SITE is automatically set for all autotools recipes. Read
>> siteinfo.bbclass and autotools.bbclass.
>
>
> Yes I know this but I'm wondering how I can overwrite the CONFIG_SITE
> default setting (made by autotools) for all packages in one single shot. I
> mean, I think that exporting CONFIG_SITE = "my *.site files" on one of the
> .conf files I can say to the system to read those instead of the ones set
> as default by autotools.

CONFIG_SITE is set by a class, which means it overrides the config
metadata (e.g. local.conf). You could either set it in the recipes, or
set it in the config metadata using an appropriate override (see
OVERRIDES).
-- 
Christopher Larson




More information about the Openembedded-devel mailing list