[oe] [PATCH 3/3] minimal: Add 'mplt' to DISTRO_FEATURES.

Holger Hans Peter Freyther holger+oe at freyther.de
Mon Dec 21 03:24:04 UTC 2009


On Sunday 20 December 2009 18:52:59 Khem Raj wrote:
> On Sun, Dec 20, 2009 at 1:21 AM, Holger Hans Peter Freyther
> 
> <holger+oe at freyther.de> wrote:
> > On Sunday 20 December 2009 10:01:40 Khem Raj wrote:
> >> I tried to use oe_filter_out but I did not succeed, I guess distro
> >> conf files are too early for in place evaluation
> >> and if I had to do lazy evaluation then it has to be done somewhere
> >> later which I did not know what it could be
> >
> > did you try with := ?
> 
>  DISTRO_FEATURES := "${@oe_filter_out('mplt',
> bb.data.getVar('DISTRO_FEATURES', d, 1), d))}"
> 
> If I use := I get this
> 
> NameError: name 'oe_filter_out' is not defined

Ah right.... base.bbclass might or might not be parsed by then and 
oe_filter_out not being known at this state. So we really have no other way 
than copying the definition. Could you add a comment to the place where we 
copied the stuff from hinting that -uclibc.conf needs to be updated too?


z.




More information about the Openembedded-devel mailing list