[poky] [PATCH] Making using layers even friendlier

Gary Thomas gary at mlbassoc.com
Wed Dec 8 05:11:52 PST 2010


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?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Allow-the-environment-variable-POKYCONF-to-provide-t.patch
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20101208/2da17a14/attachment.ksh>


More information about the poky mailing list