[yocto] Does PACKAGECONFIG only apply to autotools recipes

Burton, Ross ross.burton at intel.com
Wed Mar 21 07:27:12 PDT 2018


On 21 March 2018 at 13:34, Alan Martinovic <alan.martinovic at senic.com>
wrote:

> Thanks. :)
> I guess it's safe to say that it has a confined usage to recipes that
> require
> configuration before the compilation process.
>
> Like a source written in c using autotools as the build system for which
> you
> pass configure flags and would potentially need to pass library paths...
> As opposed to a python recipe that doesn't need to be build.
>

Just to be that person who says "well, actually"...

The piglit recipe uses PACKAGECONFIG and that is pure Python.  You can
still have a configure phase with Python code.

Any recipe is welcome to use the PACKAGECONFIG variable, it just has to
respect PACKAGECONFIG_CONFARGS which apart from a few recipes with entirely
home-grown build systems is done in the classes.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180321/1aff924c/attachment.html>


More information about the yocto mailing list