[yocto] eclipe-yocto: SDKTARGETSYSROOT not being expanded correctly

Minchev, Todor todor.minchev at intel.com
Mon Mar 16 06:51:40 PDT 2015


Hello Bryan,

On Mon, 2015-03-16 at 13:09 +0000, Bryan Evenson wrote:
> I am using version 1.6.2 of the Yocto Eclipse plug-in (from http://downloads.yoctoproject.org/releases/eclipse-plugin/1.6.2/kepler/) under Fedora 21.  After some recent issues with getting the plug-in to compile my application, I noticed that I am having a variable expansion problem with CC.
> 
> I followed the instructions for building an SDK for my image and I am using the pre-built toolchain.  In the environment script for the SDK, CC is defined as follows:
> 
> 	export CC="arm-poky-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=$SDKTARGETSYSROOT"
> 
> I then generate new a simple Yocto Hello World C project and build the application.  It builds just fine, but I see the following in the console output:
> 
> 	arm-poky-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=DKTARGETSYSROOT 
> 
> However, if I go to Project->Properties->C/C++ Build->Environment and change the CC environment variable to the following:
> 
> 	arm-poky-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=${SDKTARGETSYSROOT}
> 
> then the SDKTARGETSYSROOT is properly expanded to the correct value.  Is anyone else seeing this problem, or is this due to the version of tools that exist on Fedora 21?

I just reproduced this bug and opened a bugzilla issue to track it.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7462

Thank you for taking the time to report this issue.

Thanks,
Todor

> 
> Thanks,
> Bryan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5229 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150316/dc4710f6/attachment.bin>


More information about the yocto mailing list