[yocto] best way to add conditional configure option
Burton, Ross
ross.burton at intel.com
Wed Jun 4 01:59:01 PDT 2014
On 4 June 2014 09:51, Neuer User <auslands-kv at gmx.de> wrote:
> The conditional configure option is "--enable-imx6".
You can use a machine override, along the lines of:
EXTRA_OECONF_ixm6 = "--enable-imx6"
This will set EXTRA_OECONF to --enable-imx6 if the MACHINE is ixm6.
It gets a little complicated when you've general and machine-specific
options but for a single option that works just fine.
Ross
More information about the yocto
mailing list