All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] bitbake.conf: Simplify TARGET_CPPFLAGS/LDFLAGS
Date: Thu, 24 Feb 2011 09:47:52 -0700	[thread overview]
Message-ID: <4D668BB8.1090707@mentor.com> (raw)
In-Reply-To: <4D667FDF.30309@mentor.com>

On 02/24/2011 08:57 AM, Tom Rini wrote:
> 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<tom_rini@mentor.com> 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<tom_rini@mentor.com>
>>>
>>> Acked-by:Khem Raj<raj.khem@gmail.com>
>>
>> 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.

FWIW, poky has this already.

-- 
Tom Rini
Mentor Graphics Corporation



  reply	other threads:[~2011-02-24 16:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22  1:14 [PATCH 0/1] bitbake.conf: Simplify TARGET_CPPFLAGS/LDFLAGS Tom Rini
2011-02-22  1:14 ` [PATCH] " Tom Rini
2011-02-22  6:21   ` Khem Raj
2011-02-24  4:37     ` Denys Dmytriyenko
2011-02-24 15:57       ` Tom Rini
2011-02-24 16:47         ` Tom Rini [this message]
2011-02-24 23:39           ` [PATCH 1/3] bitbake.conf, native*.bbclass: pass --sysroot to TOOLCHAIN_OPTIONS Denys Dmytriyenko
2011-02-24 23:39             ` [PATCH 2/3] ffmpeg: pass --sysroot to configure script directly Denys Dmytriyenko
2011-02-25  1:22               ` Tom Rini
2011-02-24 23:39             ` [PATCH 3/3] gst-ffmpeg: remove 4-year old hack that sets CC directly Denys Dmytriyenko
2011-02-25  1:22               ` Tom Rini
2011-02-25  9:26               ` Koen Kooi
2011-02-25  1:21             ` [PATCH 1/3] bitbake.conf, native*.bbclass: pass --sysroot to TOOLCHAIN_OPTIONS Tom Rini

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=4D668BB8.1090707@mentor.com \
    --to=tom_rini@mentor.com \
    --cc=openembedded-devel@lists.openembedded.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.