[poky] Order of .conf processing?
Chris Larson
clarson at kergoth.com
Mon Jul 18 06:59:09 PDT 2011
On Mon, Jul 18, 2011 at 6:51 AM, Gary Thomas <gary at mlbassoc.com> wrote:
> What's the order of processing of the various .conf files?
>
> It seems to me that bitbake.conf must be first as it seems
> impossible to override settings in that file using a soft
> assignment. In particular, local.conf often has soft settings
> but these dont' seem to change what's in bitbake.conf
BitBake only parses one global configuration file, bitbake.conf. It's
bitbake.conf that includes/requires all the other configuration files.
You can see the order by reading those inclusions in bitbake.conf.
Historically, the intention was for the configuration file load order
to be relatively parallel to the overrides order -- two different
mechanisms for implementing what is essentially a layered architecture
for the metadata, allowing, generally, more specific information to
override more general information. The configuration file order
differs slightly from that, however, as it's not possible to load the
distro or machine config files after local.conf, as local.conf is
generally where DISTRO and MACHINE are defined.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
More information about the poky
mailing list