summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt-python.inc
diff options
context:
space:
mode:
authorMihai Prica <mihai.prica@intel.com>2012-11-15 14:23:39 +0200
committerRaymond Danks <ray.danks@se-eng.com>2012-11-26 16:21:16 -0700
commit93a8aadc0d2285e1b95ced8f2d691433f97f58b5 (patch)
tree7e7c98f05703a6d9b546d4cf2dd59f8412c30e32 /recipes-extended/libvirt/libvirt-python.inc
parent572043f25bc2012acfbfe1e23edf6011a0ec84aa (diff)
downloadmeta-virtualization-93a8aadc0d2285e1b95ced8f2d691433f97f58b5.tar.gz
libvirt: updated to work for other hypervisors
* 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>
Diffstat (limited to 'recipes-extended/libvirt/libvirt-python.inc')
-rw-r--r--recipes-extended/libvirt/libvirt-python.inc11
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
index 0b01833c..49d15fb3 100644
--- a/recipes-extended/libvirt/libvirt-python.inc
+++ b/recipes-extended/libvirt/libvirt-python.inc
@@ -1,13 +1,14 @@
1inherit python-dir 1inherit python-dir
2 2
3# Enable the Python tool support 3# Enable the Python tool support
4EXTRA_OECONF += "--with-python=yes" 4EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
5 5
6SRC_URI += " file://oe_PYTHON_INCLUDES.patch" 6SRC_URI += " file://python_incdir.patch"
7 7
8DEPENDS += "python python-native" 8DEPENDS += "python python-native"
9RDEPENDS_${PN}-python += "python xen-python" 9RDEPENDS_${PN}-python += "python"
10PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
10 11
11PACKAGES += "${PN}-python-dbg ${PN}-python" 12PACKAGES += "${PN}-python-dbg ${PN}-python"
12FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/" 13FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/"
13FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages" 14FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages"