Le Tue, 28 May 2013 11:30:59 -0300, Otavio Salvador <[email protected]> a écrit :
> On Mon, May 27, 2013 at 9:02 PM, Eric Bénard <[email protected]> wrote: > > > this prevent warnings and parse errors > > > > Signed-off-by: Eric Bénard <[email protected]> > > > > -COMPATIBLE_MACHINE = "(mx5)" > +COMPATIBLE_MACHINE = "{@base_contains('DISTRO_FEATURES', 'x11', (mx5), '', > d)}" > > Something like: > > python __anonymous () { > > > distro_features = d.getVar('DISTRO_FEATURES', True).split() > > > if 'x11' not in distro_features: > > > raise bb.parse.SkipPackage('missing required "x11" distro feature') > > > } > > > > could be used so I think you don't need to handle distro feature twice > (compat machine and depends). > will try, in fact I think only COMPATIBLE_MACHINE is needed. Eric _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
