From: "Minchev, Todor" <todor.minchev@intel.com>
To: "bevenson@melinkcorp.com" <bevenson@melinkcorp.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: eclipe-yocto: SDKTARGETSYSROOT not being expanded correctly
Date: Mon, 16 Mar 2015 13:51:40 +0000 [thread overview]
Message-ID: <1426513899.8287.2.camel@intel.com> (raw)
In-Reply-To: <BN3PR0501MB1090BF1EA5561303157E2BE6BB020@BN3PR0501MB1090.namprd05.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 1614 bytes --]
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
[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5229 bytes --]
prev parent reply other threads:[~2015-03-16 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-16 13:09 eclipe-yocto: SDKTARGETSYSROOT not being expanded correctly Bryan Evenson
2015-03-16 13:51 ` Minchev, Todor [this message]
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=1426513899.8287.2.camel@intel.com \
--to=todor.minchev@intel.com \
--cc=bevenson@melinkcorp.com \
--cc=yocto@yoctoproject.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.