diff options
author | Mihai Prica <mihai.prica@intel.com> | 2012-11-15 14:23:39 +0200 |
---|---|---|
committer | Raymond Danks <ray.danks@se-eng.com> | 2012-11-26 16:21:16 -0700 |
commit | 93a8aadc0d2285e1b95ced8f2d691433f97f58b5 (patch) | |
tree | 7e7c98f05703a6d9b546d4cf2dd59f8412c30e32 /recipes-extended/libvirt/libvirt-python.inc | |
parent | 572043f25bc2012acfbfe1e23edf6011a0ec84aa (diff) | |
download | meta-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.inc | 11 |
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 @@ | |||
1 | inherit python-dir | 1 | inherit python-dir |
2 | 2 | ||
3 | # Enable the Python tool support | 3 | # Enable the Python tool support |
4 | EXTRA_OECONF += "--with-python=yes" | 4 | EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}" |
5 | 5 | ||
6 | SRC_URI += " file://oe_PYTHON_INCLUDES.patch" | 6 | SRC_URI += " file://python_incdir.patch" |
7 | 7 | ||
8 | DEPENDS += "python python-native" | 8 | DEPENDS += "python python-native" |
9 | RDEPENDS_${PN}-python += "python xen-python" | 9 | RDEPENDS_${PN}-python += "python" |
10 | PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" | ||
10 | 11 | ||
11 | PACKAGES += "${PN}-python-dbg ${PN}-python" | 12 | PACKAGES += "${PN}-python-dbg ${PN}-python" |
12 | FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/" | 13 | FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/dist-packages/.debug/" |
13 | FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages" | 14 | FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/dist-packages" |