On 21 March 2018 at 13:34, Alan Martinovic <alan.martinovic@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