[OE-core] [PATCH] Yocto: Install full set of python modules in Qt SDK toolchain

Koen Kooi koen at dominion.thruhere.net
Fri Aug 8 05:22:04 UTC 2014


Since 'yocto' is a project like freedesktop.org your commit message doesn't make sense, it should be something like:

meta-toolchain-qt:  Install full set of python modules

Op 7 aug. 2014, om 21:10 heeft Marek Vasut <marex at denx.de> het volgende geschreven:

> 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 at 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
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 




More information about the Openembedded-core mailing list