[yocto] best way to add conditional configure option

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jun 4 02:59:44 PDT 2014


On Wednesday 04 June 2014 11:24:36 Neuer User wrote:
> I searched through other recipes for "EXTRA_OECONF_" and found somehting
> that worked:
> 
> EXTRA_OECONF_append_mx6 = "--enable-imx6"

BTW I'd suggest a leading space in the value, since _append won't add one for 
you. You might have got away with not adding one this time if the original 
value already had a trailing space, but it's good practice to add one.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list