Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Yocto: Install full set of python modules in Qt SDK toolchain
@ 2014-08-07 19:10 Marek Vasut
  2014-08-08  5:22 ` Koen Kooi
  0 siblings, 1 reply; 22+ messages in thread
From: Marek Vasut @ 2014-08-07 19:10 UTC (permalink / raw)
  To: openembedded-core; +Cc: Marek Vasut

The Qt SDK toolchain pulls in python via packagegroup-cross-canadian-${MACHINE}
and ships it. But the python is missing many modules and is rather incomplete.

The environment-setup-* script configures the PATH variable to point into
it's own sysroot first, it means the python from the SDK is used as well
when the environment is configured. It actually does make sense to use the
python from the SDK, since the SDK should provide the tools needed to build
additional software.

The problem is, the python in the SDK image is stripped to a bare minimum
of modules, which prevents some software from being built with the SDK as
is. Add the same python modules as the buildtools-tarball.bb adds to make
the python shipped with the SDK complete.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 meta/recipes-qt/meta/meta-toolchain-qt.inc | 32 +++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

NOTE: This lets me build U-Boot git HEAD , which now has Kconfig in it
      and that depends on the "subprocess" module. But instead of adding
      just one module, I want to fix this properly and future-proof this.

diff --git a/meta/recipes-qt/meta/meta-toolchain-qt.inc b/meta/recipes-qt/meta/meta-toolchain-qt.inc
index 6b162bd..99d5e64 100644
--- a/meta/recipes-qt/meta/meta-toolchain-qt.inc
+++ b/meta/recipes-qt/meta/meta-toolchain-qt.inc
@@ -1,4 +1,34 @@
-TOOLCHAIN_HOST_TASK = "nativesdk-packagegroup-${QTNAME}-toolchain-host packagegroup-cross-canadian-${MACHINE}"
+TOOLCHAIN_HOST_TASK = " \
+	nativesdk-packagegroup-${QTNAME}-toolchain-host \
+	packagegroup-cross-canadian-${MACHINE} \
+	nativesdk-python-core \
+	nativesdk-python-textutils \
+	nativesdk-python-sqlite3 \
+	nativesdk-python-pickle \
+	nativesdk-python-logging \
+	nativesdk-python-elementtree \
+	nativesdk-python-curses \
+	nativesdk-python-compile \
+	nativesdk-python-compiler \
+	nativesdk-python-fcntl \
+	nativesdk-python-shell \
+	nativesdk-python-misc \
+	nativesdk-python-multiprocessing \
+	nativesdk-python-subprocess \
+	nativesdk-python-xmlrpc \
+	nativesdk-python-netclient \
+	nativesdk-python-netserver \
+	nativesdk-python-distutils \
+	nativesdk-python-unixadmin \
+	nativesdk-python-compression \
+	nativesdk-python-json \
+	nativesdk-python-unittest \
+	nativesdk-python-mmap \
+	nativesdk-python-difflib \
+	nativesdk-python-pprint \
+	nativesdk-python-git \
+	nativesdk-python-pkgutil \
+	"
 TOOLCHAIN_TARGET_TASK = "packagegroup-${QTNAME}-toolchain-target"
 TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-${QTNAME}-${DISTRO_VERSION}"
 
-- 
2.0.1



^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-12-01 18:04 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-07 19:10 [PATCH] Yocto: Install full set of python modules in Qt SDK toolchain Marek Vasut
2014-08-08  5:22 ` Koen Kooi
2014-08-08 12:22   ` Marek Vasut
2014-08-11 10:26     ` Richard Purdie
2014-08-11 18:26       ` Marek Vasut
2014-09-18  9:11         ` Laszlo Papp
2014-09-18  9:12           ` Laszlo Papp
2014-09-18  9:16           ` Marek Vasut
2014-09-18  9:23             ` Laszlo Papp
2014-09-18  9:30               ` Marek Vasut
2014-09-18 10:29                 ` Laszlo Papp
2014-09-18 13:36                   ` Richard Purdie
2014-09-19  7:14                     ` Marek Vasut
2014-09-19  7:25                       ` Richard Purdie
2014-09-21 16:02                         ` Marek Vasut
2014-11-27 18:07                           ` Laszlo Papp
2014-12-01 15:05                           ` Burton, Ross
2014-12-01 15:13                             ` Richard Purdie
2014-12-01 15:20                               ` Burton, Ross
2014-12-01 15:21                               ` Paul Eggleton
2014-12-01 16:44                                 ` Burton, Ross
2014-12-01 18:04                                   ` Laszlo Papp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox