libxml2: fix python packaging for nativesdk
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 5 Jun 2014 09:46:17 +0000 (10:46 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jun 2014 08:26:05 +0000 (09:26 +0100)
commit15641bca7265366e8dbef891adb9e34b6dcb7723
tree03d25de8537f507408fa6cd351d614429d583421
parentd4495d3cb17a9675dc11ad10cf1762ebffbe2774
libxml2: fix python packaging for nativesdk

We enable the python module in nativesdk-libxml2, but the python binary
used is in the native sysroot and thus you get the module installed in
the wrong path. Even with that fixed the python files are still
unpackaged, so create an ${PN}-python package and add them to it. (This
does not affect the libxml target build at all since python is disabled
for that.)

(From OE-Core rev: e3d06aa104065748367e1479138f824da5d9951f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/libxml/libxml2.inc
meta/recipes-core/libxml/libxml2/python-sitepackages-dir.patch [new file with mode: 0644]