mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
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>
22 lines
529 B
Diff
22 lines
529 B
Diff
Allow us to pass in PYTHON_SITE_PACKAGES
|
|
|
|
The python binary used when building for nativesdk doesn't give us the
|
|
correct path here so we need to be able to specify it ourselves.
|
|
|
|
Upstream-Status: Inappropriate [config]
|
|
|
|
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
|
|
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -743,7 +743,8 @@ dnl
|
|
|
|
PYTHON_VERSION=
|
|
PYTHON_INCLUDES=
|
|
-PYTHON_SITE_PACKAGES=
|
|
+# Allow this to be set externally
|
|
+#PYTHON_SITE_PACKAGES=
|
|
PYTHON_TESTS=
|
|
pythondir=
|
|
if test "$with_python" != "no" ; then
|