On 02/23/2011 09:37 PM, Denys Dmytriyenko wrote:
On Mon, Feb 21, 2011 at 10:21:12PM -0800, Khem Raj wrote:
On Mon, Feb 21, 2011 at 5:14 PM, Tom Rini<[email protected]>  wrote:
This is based on poky's ba2e1f4d933c37b372d6749d64614f2510ee9d7b, which
simplifies TARGET_CPPFLAGS (and thus CFLAGS) and TARGET_LDFLAGS
based on gcc any company having --sysroot

Signed-off-by: Tom Rini<[email protected]>

Acked-by:Khem Raj<[email protected]>

Tom, Khem,

This change seems to break external-toolchains, e.g. CodeSourcery Lite, at
least 2009q1 (gcc-4.3 based)...

I'm seeing issues like this in libxau:

| ./include/X11/Xauth.h:48:31: error: X11/Xfuncproto.h: No such file or 
directory
| ./include/X11/Xauth.h:49:27: error: X11/Xfuncs.h: No such file or directory

It cannot find standard X headers from OE sysroot.

Do I need to pass an extra --sysroot to CSL? Any other pointers?

I've never not had to set:
TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"

And then clear it on native/etc. What's going on is that the CSL toolchain (and any other) was only finding stuff since we were spelling out where to look, and now we need to pass that information in again.

--
Tom Rini
Mentor Graphics Corporation

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to