From: Marek Vasut <marex@denx.de>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Koen Kooi <koen@dominion.thruhere.net>,
OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] Yocto: Install full set of python modules in Qt SDK toolchain
Date: Sun, 21 Sep 2014 18:02:17 +0200 [thread overview]
Message-ID: <201409211802.17872.marex@denx.de> (raw)
In-Reply-To: <1411111512.4736.11.camel@ted>
On Friday, September 19, 2014 at 09:25:12 AM, Richard Purdie wrote:
[...]
> > git grep nativesdk-python-modules doesn't show any matches in
> > git://git.yoctoproject.org/poky master . Do you mean the
> > nativesdk-packagegroup- python I crafted or do you refer to something
> > else please ?
> >
> > Also, shouldn't full python be installed into all the SDK toolchains ? I
> > am for example unable to compile U-Boot 2014.10rc with the Yocto SDK
> > toolchain anymore. The SDK is missing python modules and I cannot easily
> > override the usage of python from the SDK . So I agree with Laszlo here,
> > the SDK toolchain is somewhat unusable as it is.
>
> I refer to the package I mentioned:
>
> $ ls -la tmp/deploy/ipk/x86_64-nativesdk/nativesdk-python-modules*
> -rw-r--r-- 2 richard richard 1512 Sep 18 17:09
> tmp/deploy/ipk/x86_64-nativesdk/nativesdk-python-modules_2.7.3-r0.3.24_x86
> _64-nativesdk.ipk
>
> See ${PN}-modules defined in python-2.7-manifest.inc.
Oh I see, sorry. Is there any way to look up packages with bitbake or Yocto
please ?
> I agreed there is a problem, I disagree somewhat about how it should be
> fixed since you're just installing a set of modules which is defined as
> those needed to run bitbake and I don't think this is what you actually
> want. There is also the question of whether nativesdk-python should even
> be in there...
So would this patch (paste below) work please ? If so, I would submit proper.
diff --git a/meta/classes/populate_sdk_base.bbclass
b/meta/classes/populate_sdk_base.bbclass
index 10d04ed..7245d53 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -30,7 +30,11 @@ B_task-populate-sdk = "${SDK_DIR}"
SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${REAL_MULTIMACH_TARGET_SYS}"
-TOOLCHAIN_HOST_TASK ?= "nativesdk-packagegroup-sdk-host packagegroup-cross-
canadian-${MACHINE}"
+TOOLCHAIN_HOST_TASK ?= " \
+ nativesdk-packagegroup-sdk-host \
+ packagegroup-cross-canadian-${MACHINE} \
+ nativesdk-python-modules \
+ "
TOOLCHAIN_HOST_TASK_ATTEMPTONLY ?= ""
TOOLCHAIN_TARGET_TASK ?= "packagegroup-core-standalone-sdk-target packagegroup-
core-standalone-sdk-target-dbg"
TOOLCHAIN_TARGET_TASK_ATTEMPTONLY ?= ""
diff --git a/meta/recipes-qt/meta/meta-toolchain-qt.inc b/meta/recipes-
qt/meta/meta-toolchain-qt.inc
index 6b162bd..473a123 100644
--- a/meta/recipes-qt/meta/meta-toolchain-qt.inc
+++ b/meta/recipes-qt/meta/meta-toolchain-qt.inc
@@ -1,4 +1,8 @@
-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-modules \
+ "
TOOLCHAIN_TARGET_TASK = "packagegroup-${QTNAME}-toolchain-target"
TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-${QTNAME}-${DISTRO_VERSION}"
Best regards,
Marek Vasut
next prev parent reply other threads:[~2014-09-21 16:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201409211802.17872.marex@denx.de \
--to=marex@denx.de \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox