I am writing a userspace application which makes some system calls.  I am using 
the SAM9G25-EK for a development platform.  I had previously been using 
buildroot and I have a makefile for my application.  I created a Bitbake recipe 
that calls my makefile to build my application.  The problem I am encountering 
is that I don't know how to properly specify in the Bitbake recipe the system 
include file paths.

I can see that the gcc command being issued is of the form:

arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s 
-mthumb-interwork -mno-thumb 
--sysroot=/media/sda3/stuff/tmp/sysroots/armv5te-angstrom-linux-gnueabi 
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 
-Wall -Wstrict-prototypes  -c foo.c

I think what I need to do is replace the -sysroot assignment to 
/media/sda3/stuff/tmp/sysroots/at91sam9x5ek-angstrom-linux-gnueabi so it can 
find the kernel files as patched for the SAM9x5 processors.  However, I can't 
seem to find the proper Bitbake recipe changes to modify the sysroot.  Does 
anyone out there know?

Thanks,
Bryan
_______________________________________________
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