From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by mx1.pokylinux.org (Postfix) with ESMTP id 6DBDB4C80A5B for ; Mon, 18 Jul 2011 09:05:27 -0500 (CDT) Received: by mail.chez-thomas.org (Postfix, from userid 999) id 193BF1660335; Mon, 18 Jul 2011 08:05:27 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id D303A16601D1; Mon, 18 Jul 2011 08:05:25 -0600 (MDT) Message-ID: <4E243DA5.4090207@mlbassoc.com> Date: Mon, 18 Jul 2011 08:05:25 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: Chris Larson References: <4E243A67.3090400@mlbassoc.com> In-Reply-To: Cc: Poky Project Subject: Re: Order of .conf processing? X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2011 14:05:27 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07/18/2011 07:59 AM, Chris Larson wrote: > On Mon, Jul 18, 2011 at 6:51 AM, Gary Thomas 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. In that case, isn't using ?= assignments in bitbake.conf a bit misleading? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------