[poky] [PATCH] Making using layers even friendlier

Richard Purdie rpurdie at linux.intel.com
Thu Dec 9 06:44:47 PST 2010


On Wed, 2010-12-08 at 06:11 -0700, Gary Thomas wrote:
> I'm building poky for a number of unique platforms which I
> want to keep logically separate.  By using the new BBLAYERS
> support, this is working out quite well.
> 
> However, I find it cumbersome to start a new build for a given
> platform.  This is because conf/local.conf and conf/bblayers.conf
> need to be tailored for that platform.  In particular, the file
> conf/bblayers.conf needs to be modified to incorporate the
> meta layers used by the given platform.
> 
> By incorporating the attached patch, this can now be done easily
> on the initial build tree setup.  Just run something like this:
>    % POKYCONF=meta-board1/conf . <POKYBASE>/poky-init-build-env my_build_tree
> As the build tree is set up, the files from <POKYBASE>/meta-board1/conf
> will be used to populate the <BUILD>/conf directory.  These can then
> be adjusted as necessary.  The patch allows for the provided config
> files to be either <POKYBASE> relative or absolute, allowing even
> more flexibility.
> 
> Comments?

I think its a reasonable idea and I've added it to master.

Cheers,

Richard




More information about the poky mailing list