python-cffi: add host variant
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 5 Jan 2016 07:17:24 +0000 (08:17 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 3 Feb 2016 21:34:14 +0000 (22:34 +0100)
commitce726bae3150506174fd612318615a3be81224bc
treec85d96569051b4c0141b7e499e76f9194c9e29ce
parent60093650c84d9b758a5919f663797fdb72fde323
python-cffi: add host variant

Host variant is needed to cross-compile CFFI based C library wrappers.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - add dependency on host-pkgconf for the host package variant.
 - add various environment variables needed to make pkg-config behave
   properly when building host-python-cffi. Otherwise, pkg-config
   returns values that are appropriate to build things for the target,
   and the build fails.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-cffi/python-cffi.mk