Khem,

It does look like OE is setting it for me.  It's setting sysroot to 
/media/sda3/stuff/tmp/sysroots/armv5te-angstrom-linux-gnueabi.

Let me back up.  I am using the 2011.03-maintenance branch and I am using the 
SAM9x5 overlay located at 
ftp://ftp.linux4sam.org/pub/oe/linux4sam_5series_1.2/oe_at91sam.tgz.  With this 
setup, there are three folders showing up in my sysroots directory.  They are 
armv5te-angstrom-linux-gnueabi, at91sam9x5ek-angstrom-linux-gnueabi and 
i686-linux.  I'm assuming all the host-necessary tool builds end up in 
i686-linux.  The SAM9x5 overlay creates a custom patch of the Linux kernel, 
which ends up in at91sam9x5ek-angstrom-linux-gnueabi.  All of the /usr/include 
system files are in the armv5te-angstrom-linux-gnueabi directory.

So I think what I need to do is leave sysroot alone but either modify the -I or 
-isystem option that is passed to GCC.  I will give that a try and report back 
my results.

-Bryan

-----Original Message-----
From: angstrom-distro-devel-boun...@linuxtogo.org 
[mailto:angstrom-distro-devel-boun...@linuxtogo.org] On Behalf Of Khem Raj
Sent: Wednesday, April 04, 2012 1:54 PM
To: Discussion of the angstrom distribution development
Subject: Re: [Angstrom-devel] Problems using autotools for new recipe

On Wed, Apr 4, 2012 at 10:11 AM, Bryan Evenson <beven...@melinkcorp.com> wrote:
>
> EXTRA_OECONF = 
> "--sysroot=/media/sda3/stuff/tmp/sysroots/at91sam9x5ek-angstrom-linux-gnueabi"

this is compiler option and not configure option this is compiler option
but you should not need to set it. OE should be setting it for you

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to