From: Jonathan Liu <net147@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-qt5][PATCH v2 01/11] qt5: make populate_sdk_qt5 reusable
Date: Sun, 30 Aug 2015 22:49:27 +1000 [thread overview]
Message-ID: <55E2FBD7.9020404@gmail.com> (raw)
In-Reply-To: <f7c705865ed574150e379a05345febead2237e07.1440502860.git.samuli.piippo@theqtcompany.com>
On 25/08/2015 9:43 PM, Samuli Piippo wrote:
> Move task definitions from populate_sdk_qt5.bbclass to the toolchain recipe,
> so that populate_sdk_qt5 can be reused in different toolchain meta recipes.
>
> Signed-off-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
> ---
> classes/populate_sdk_qt5.bbclass | 5 -----
> recipes-qt/meta/meta-toolchain-qt5.bb | 4 ++++
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/classes/populate_sdk_qt5.bbclass b/classes/populate_sdk_qt5.bbclass
> index 79df489..d29ec36 100644
> --- a/classes/populate_sdk_qt5.bbclass
> +++ b/classes/populate_sdk_qt5.bbclass
> @@ -1,8 +1,5 @@
> # Copyright (C) 2014 O.S. Systems Software LTDA.
>
> -TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-qt5-toolchain-host"
> -TOOLCHAIN_TARGET_TASK += "packagegroup-qt5-toolchain-target"
> -
> # This allow reuse of Qt paths
> inherit qmake5_paths
>
> @@ -33,5 +30,3 @@ create_sdk_files_prepend () {
> echo 'HostPrefix = ${SDKPATHNATIVE}' >> $qtconf
> echo 'HostBinaries = ${SDKPATHNATIVE}${OE_QMAKE_PATH_HOST_BINS}' >> $qtconf
> }
> -
> -FEATURE_PACKAGES_qtcreator-debug = "packagegroup-qt5-qtcreator-debug"
> diff --git a/recipes-qt/meta/meta-toolchain-qt5.bb b/recipes-qt/meta/meta-toolchain-qt5.bb
> index 8991176..11b7962 100644
> --- a/recipes-qt/meta/meta-toolchain-qt5.bb
> +++ b/recipes-qt/meta/meta-toolchain-qt5.bb
> @@ -5,3 +5,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
> file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
>
> inherit populate_sdk populate_sdk_qt5
> +
> +TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-qt5-toolchain-host"
> +TOOLCHAIN_TARGET_TASK += "packagegroup-qt5-toolchain-target"
> +FEATURE_PACKAGES_qtcreator-debug = "packagegroup-qt5-qtcreator-debug"
If someone had already copied meta-toolchain-qt5 into their own layer
and modified it, this would be a breaking change for them as they need
to make the same changes in their own toolchain recipe. I wonder if it
would be better if the reusable part of populate_sdk_qt5.bbclass was
split off into populate_sdk_qt5_base.bbclass instead and inherited by
populate_sdk_qt5.bbclass.
Regards,
Jonathan
next prev parent reply other threads:[~2015-08-30 12:49 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 11:43 [meta-qt5][PATCH v2 00/11] upstreaming Qt for Device Creation changes Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 01/11] qt5: make populate_sdk_qt5 reusable Samuli Piippo
2015-08-30 12:49 ` Jonathan Liu [this message]
2015-09-01 13:21 ` Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 02/11] qt5: improve Qt module package handling Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 03/11] qt5: improve support for native and nativesdk modules Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 04/11] qt5: add host paths to qt.conf Samuli Piippo
2015-08-30 12:30 ` Jonathan Liu
2015-09-01 13:07 ` Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 05/11] qt5: disable debian auto renaming Samuli Piippo
2015-09-02 17:07 ` Otavio Salvador
2015-09-02 17:25 ` Martin Jansa
2015-09-02 17:53 ` Otavio Salvador
2015-09-03 13:10 ` Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 06/11] qt5: make qt5.inc reusable qt5-module.bbclass Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 07/11] qttools: use one recipe for all compilations Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 08/11] qtbase: remove dependency to sqlite Samuli Piippo
2015-09-02 17:08 ` Otavio Salvador
2015-08-25 11:43 ` [meta-qt5][PATCH v2 09/11] qtbase: PACKAGECONFIGs for libproxy and libinput Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 10/11] qtlocation: use correct dependencies Samuli Piippo
2015-08-25 11:43 ` [meta-qt5][PATCH v2 11/11] qtwebengine: fix problem with recursive qmake call Samuli Piippo
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=55E2FBD7.9020404@gmail.com \
--to=net147@gmail.com \
--cc=openembedded-devel@lists.openembedded.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