On Tue, Aug 20, 2013 at 9:01 AM, Burton, Ross <[email protected]> wrote: > On 20 August 2013 12:58, Otavio Salvador <[email protected]> wrote: >>> 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. > > And does distro_features_check.bbclass work for those?
Yes; I did it to accomplish our needs. So it does. >> 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. > > Yes, and it should definitely be checked for. Agreed. -- 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 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
