Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH v2] qt4: fix generated sdk
Date: Fri, 16 Sep 2011 21:52:51 +0200	[thread overview]
Message-ID: <4E73A913.50101@eukrea.com> (raw)
In-Reply-To: <1316192238.20858.45.camel@ted>

Hi Richard,

Le 16/09/2011 18:57, Richard Purdie a écrit :
> On Tue, 2011-09-13 at 16:44 +0200, Eric Bénard wrote:
>> - qt4-tools-nativesdk : actually the qmake binary which gets installed
>> comes from the native recipe. This patch fix this problem by laucnhing
>> configure twice : once to compile qmake using the right toolchain for
>> nativesdk, and a second time using the native qmake to compile all the
>> other tools for the nativesdk. Then we install the right qmake.
>
> I was reading through this and wondered why we can't this use the qmake
> from the qt4-tools-native recipe?
>
Path are not properly set in the native one and the actual meta-toolchain 
doesn't compile a simple hello world in qt (because path are the one of the 
buildir of OE instead of the path where is installed the sdk).

Also (maybe I'm wrong here), isn't it possible to have the nativesdk generated 
binaries being compiled for an architecture (SDK_ARCH) different than the 
native one (BUILD_ARCH) ?

In one case I see -nativesdk are compiled using 
CC=x86_64-angstromsdk-linux-gcc when -native are compiled using CC=gcc so I 
was assuming this change makes the binaries more consistent in the nativesdk 
package.

Eric



  parent reply	other threads:[~2011-09-16 20:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-10  9:25 [PATCH] qt4: fix generated sdk Eric Bénard
2011-09-10  9:56 ` Otavio Salvador
2011-09-10  9:59   ` Eric Bénard
2011-09-10 10:03     ` Otavio Salvador
2011-09-10 10:31       ` Otavio Salvador
2011-09-13  5:44         ` Eric Bénard
2011-09-13 14:12           ` Otavio Salvador
2011-09-13 14:44             ` [PATCH v2] " Eric Bénard
2011-09-16 16:57               ` Richard Purdie
2011-09-16 17:09                 ` Otavio Salvador
2011-09-16 19:52                 ` Eric Bénard [this message]
2011-09-13 17:25           ` [PATCH] " Paul Eggleton

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=4E73A913.50101@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-core@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