summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt-python.inc
Commit message (Collapse)AuthorAgeFilesLines
* libvirt: move python PACKAGECONFIG into main recipeBruce Ashfield2013-08-151-2/+0
| | | | | | | | | | | | | The libvirt-python.inc manipulation of PACKAGECONFIG meant that the default configuration options of the libvirt recipe never fired, since the variable had an assignment and the lazy set of the configuration values never applied to the build. Moving the python PACKAGE_CONFIG options into the main recipe, and ensuring that PACKAGE_CONFIG_${PN} is used for libvirt-python means that most builds will now use the default configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: fix python script's improper pathsMark Asselstine2013-08-121-0/+4
| | | | | | | | | | | libvirt generates several python scripts using its python/generator.py script. This uses the PYTHON variable, which in our case will be a full path to the sysroot that will not exist on the target. For this we are patching libvirt to allow for (but not require) TARGET_PYTHON to be defined and used when generating these python scripts. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* fix libvirt-python build problemYao Zhao2013-05-031-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | The current libvirt's config.log: configure:65065: checking for python configure:65083: found /usr/bin/python configure:65095: result: /usr/bin/python configure:65116: checking for python version configure:65123: result: 2.7 configure:65137: checking for python platform configure:65144: result: linux2 configure:65170: checking for python script directory configure:65206: result: ${prefix}/lib/python2.7/dist-packages configure:65215: checking for python extension module directory configure:65251: result: ${exec_prefix}/lib/python2.7/dist-packages so it will use host python which may quite different with target python. remove python_incdir.patch and inherit pythonnative. use PACKAGECONFIG instead of EXTRA_OECONF. enable python in full PACKAGECONFIG. Signed-off-by: Yao Zhao <yao.zhao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: Changed python bindings install locationMihai Prica2013-04-181-2/+2
| | | | | | | | | The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not available to python. Changed this to site-packages. Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* libvirt: updated to work for other hypervisorsMihai Prica2012-11-261-5/+6
| | | | | | | | * the package can now be customized using PACKAGECONFIG * fixed to use target include files for python Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* libvirt: Initial package creation.Raymond Danks2012-06-211-0/+13
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>