[yocto] Writing a recipe that allows for extra depends, depending on the extra_oemake configurations

Burton, Ross ross.burton at intel.com
Fri Jul 13 00:53:03 PDT 2018


On 12 July 2018 at 23:12, Giordon Stark <kratsg at gmail.com> wrote:
> Hi Ross,
>
> Thanks. I saw that but the documentation doesn't explicitly mentioned
> EXTRA_OEMAKE. Is that the same as EXTRA_OECONF?

EXTRA_OEMAKE is what is passed to 'make' calls.  Your recipe is using
cmake, so you're extending EXTRA_OECMAKE, which is passed to cmake
calls.

If you read the documentation you'll see that PACKAGECONFIG is parsed
and the appropriate enabled/disabled options are added to
PACKAGECONFIG_CONFARGS, which cmake.bbclass adds to EXTRA_OECMAKE for
you.

Ross


More information about the yocto mailing list