[yocto] Best way to override EXTRA_OECONF

Gary Thomas gary at mlbassoc.com
Mon Aug 29 16:15:12 PDT 2011


On 2011-08-29 15:28, Chris Tapp wrote:
> I'm using libGL provided by mesa-xlib, which includes mesa-common.
>
> I also want to use libglu, but mesa-common says:
>
> EXTRA_OECONF = "--disable-glu \
>
> Is there a way I can override this without having to alter mesa-common.inc.
>
> Would a mesa-xlib.bbappend file with
>
> EXTRA_OECONF += "--enable-glu \
>
> do it?

Try something like this in your .bbappend file:
   EXTRA_OECONF := "${@oe_filter_out('--disable-glu', '${EXTRA_OECONF}', d)}"
   EXTRA_OECONF += "--enable-glu "

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list