From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: making qt5 package machine specific
Date: Fri, 22 Nov 2013 15:51:01 +0100 [thread overview]
Message-ID: <20131122145101.GD3708@jama> (raw)
In-Reply-To: <1385122369.23183.107.camel@bril0118.bri.st.com>
[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]
On Fri, Nov 22, 2013 at 12:12:49PM +0000, André Draszik wrote:
> Thanks Martin!
>
> On Fri, 2013-11-22 at 11:51 +0100, Martin Jansa wrote:
> > You can have recipes which use only qtbase-native and qmake only as
> > build tool and don't use target qtbase at all.
> >
> > Such recipes inherit qmake5_base to setup paths etc and shouldn't became
> > MACHINE_ARCH just because target qtbase (which they don't use at all) is.
>
> OK.
>
> Would it be better / ok to move my patch into qt5.inc then?
>
> My only (maybe unjustified) concern with this is: What defines if some
> source code uses / can see configuration options from qtbase configure
> time when invoking qmake? Purely that projects own build system? I can't
> see anything in meta-qt5 that could affect this, unless I'm missing
> something.
You can add it to separate .bbclass and inherit it from qt5.inc
> In other words, could a recipe build sources that depend on the Qt
> configuration, without including qt5.inc?
Yes any recipe which inherits qmake5 and also has qtbase added in
DEPENDS should inherit this class if it wants PACKAGE_ARCH to be
automatically adjusted.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-11-22 14:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 8:33 making qt5 package machine specific Nicolas Dechesne
2013-11-21 8:45 ` Koen Kooi
2013-11-21 12:39 ` Martin Jansa
2013-11-21 15:11 ` Nicolas Dechesne
2013-11-21 17:28 ` Martin Jansa
2013-11-21 17:30 ` Martin Jansa
2013-11-22 8:40 ` André Draszik
2013-11-22 10:51 ` Martin Jansa
2013-11-22 12:12 ` André Draszik
2013-11-22 14:51 ` Martin Jansa [this message]
2013-12-03 15:04 ` [meta-qt5][PATCH] qt5.inc: allow to set the package arch globally André Draszik
2013-12-03 15:20 ` Andre Draszik
2013-11-21 17:56 ` making qt5 package machine specific Otavio Salvador
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=20131122145101.GD3708@jama \
--to=martin.jansa@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.