[OE-core] [PATCH v2] qt4: fix generated sdk

Eric Bénard eric at eukrea.com
Fri Sep 16 19:52:51 UTC 2011


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




More information about the Openembedded-core mailing list