[OE-core] [PATCH 1/1] sanity.bbclass: a new check for required distro features

Otavio Salvador otavio at ossystems.com.br
Tue Aug 20 11:58:00 UTC 2013


On Tue, Aug 20, 2013 at 8:11 AM, Burton, Ross <ross.burton at intel.com> wrote:
> On 19 August 2013 20:22,  <nitin.a.kamble at intel.com> wrote:
>> Now these BSPs can specify in their BSP config, what distro features
>> are required, and if these are not enabled then appropriate build
>> error is thrown to help fix the issue.
>
> Are there any situations where these distro feature dependencies can't
> be expressed more precisely in a package recipe, and then something
> like Otavio's approach of throwing a SkipPackage used?

I have several cases in meta-fsl-demos. Vivante GPU driver provides
different libraries depending on the backend to use (DirectFB, FB,
Wayland and X11) and they cannot be used at same time. So depending on
distro features setting some images are buildable or not.

In fact I see same case in OE-Core; core-image-weston /depends/ on
wayland distro feature and this is not explicit in metadata nowadays.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list