[bitbake-devel] [PATCH] world-image: add extra target

Martin Jansa martin.jansa at gmail.com
Fri Jan 25 22:13:04 UTC 2013


Agreed, I've tried with handler added in world-image.bbclass (cumulating
all PACKAGES on RecipeParsed event) and failed, that's why this ended in
bitbake code, but I'm open to ideas how to hook it properly.


On Fri, Jan 25, 2013 at 10:45 PM, Chris Larson <clarson at kergoth.com> wrote:

>
> On Fri, Jan 25, 2013 at 12:38 PM, Martin Jansa <martin.jansa at gmail.com>wrote:
>
>> * similar to world target, but collects all PACKAGES
>> * recipes marked with EXCLUDE_FROM_WORLD are excluded from world as well
>>   as world-image
>> * recipes marked with EXCLUDE_FROM_WORLD_IMAGE are excluded completely
>>   from world-image, sometimes you can build 2 recipes in same sysroot,
>>   but cannot install them in the same image
>> * PACKAGES listed in EXCLUDE_PACKAGES_FROM_WORLD_IMAGE are also
>>   excluded. You can remove e.g. ${PN}-dbg, but keep all other PACKAGES.
>>
>> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
>>
>
> bitbake should have zero knowledge of what an image even is, much less
> hardcoding awareness of the IMAGE_INSTALL variable. Instead, we should
> provide a means to hook into bitbake's knowledge of the recipes included in
> the world image, and let a world-image recipe utilize that.
> --
> Christopher Larson
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20130125/f21c35a4/attachment-0001.html>


More information about the bitbake-devel mailing list