[meta-freescale] I think I am missing some critical link, but am lost trying to find it.

Stephen Munnings Stephen.Munnings at nuvation.com
Tue Jun 24 11:28:02 PDT 2014

-----Original Message-----
From: angolini at gmail.com [mailto:angolini at gmail.com] On Behalf Of Daiane Angolini
Sent: Tuesday, June 24, 2014 2:20 PM
To: Stephen Munnings
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] I think I am missing some critical link, but am lost trying to find it.

On Tue, Jun 24, 2014 at 11:28 AM, Stephen Munnings <Stephen.Munnings at nuvation.com> wrote:
> Hello all,
> I have been using the ycoto fsl-community-bsp (branch dora) to build a 
> distribution for a custom hardware design (similar but not identical 
> to the wandboard solo).
> We have an application built using Qt – initially developed on an 
> external host, but now being “brought into” the yocto recipe system.
> We have added 3 layers to our setup.
> a.       A layer for the board changes (BSP layer) – also has the image
> recipes
> b.      A layer for the distro – and very little else – this could perhaps
> have been merged into one of the other two layers, but I do think it 
> should stay a separate layer
> c.       A layer for the application itself and associated support files and
> directories. (e.g. The startup script is in here also)
> I am having two problems with this setup that are probably related.
> 1.        When I attempt to build the application (using Qt 5.1), it does
> not find the toolchain for it.
> a.       I get a message about arm-poky-linux-gnueabi-gcc Command not found.
> b.      If I search for the toolchain, I find it in :
> /home/user/<project>/yocto/fsl-community-bsp/build/tmp/sysroots/x86_64
> -linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi/
> c.       If I add this path to $PATH, then the build works.  However, I
> think that this is “kludging my way around the problem”

I have no idea, however it smells like CC not being overriden in your recipe.

I suppose this error is from your qt application recipe, right?

-----End Original Message-----

Should CC be overridden in my recipe?  It is a Qt application, and everything is (almost entirely) done by simply adding these lines:

inherit qmake5
require recipes-qt/qt5/qt5.inc

It seems to be all that is necessary to have qmake read the <app>.pro file, and proceed to compile the application - except for the toolchain not being found..

And, yes, this error is from my Qt application recipe.

Stephen Munnings 
Sr. Design Engineer | 519.594.0976 

More information about the meta-freescale mailing list