All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: linux-libc-headers version (reloaded)
Date: Fri, 25 Feb 2011 13:11:00 +0100	[thread overview]
Message-ID: <4D679C54.9060202@opendreambox.org> (raw)
In-Reply-To: <AANLkTikv_D9xz3MYHwz0=eoJ+Q_p8TsCJC9k2Ps0SBw7@mail.gmail.com>

On 02/25/2011 08:51 AM, Khem Raj wrote:
> Well one way is to have kernel headers per machine which means you can
> not share target packages anymore since they have to build per machine
> but it would be much integrated solution and we could generate the
> kernel headers from the kernel recipe itself so we are sure that the
> .config of kernel headers match the .config of  kernel itself
> downside is it will defeat the multimachine sharing packages a bit.

The .config does not have any influence on the generated
linux-libc-headers by definition. linux-libc-headers must not contain
any CONFIG_* statements, because they are meant to be independent of it.
The kernel config is not available to linux-libc-headers after all.

The point I was trying to make is that feature detection at compile time
is impossible, if the feature can be disabled by the kernel config
(which is the case for epoll and inotify, which in turn were the
examples discussed on the mailing list in May 2010). You need to do
runtime tests in programs intended to be portable.

Regards,
Andreas




  parent reply	other threads:[~2011-02-25 12:12 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15 10:41 linux-libc-headers version (reloaded) Steffen Sledz
2011-02-15 14:12 ` Andreas Oberritter
2011-02-15 14:37   ` Tom Rini
2011-02-15 14:50   ` Steffen Sledz
2011-02-18  9:55     ` Steffen Sledz
2011-02-18 15:30       ` Khem Raj
2011-02-24 13:30         ` Steffen Sledz
2011-02-24 14:57           ` Andreas Oberritter
2011-02-25  7:40             ` Steffen Sledz
2011-02-25  7:51               ` Khem Raj
2011-02-25  8:14                 ` Steffen Sledz
2011-02-25 10:22                 ` Frans Meulenbroeks
2011-02-25 11:37                   ` Steffen Sledz
2011-02-25 12:11                 ` Andreas Oberritter [this message]
2011-02-25 17:28                   ` Khem Raj
2011-02-25 20:02                     ` Phil Blundell
2011-02-25 20:48                       ` Khem Raj
2011-02-26 12:47                     ` Andreas Oberritter
2011-02-26 17:08                       ` Khem Raj
2011-02-25 11:36               ` Andreas Oberritter
2011-02-25 21:05           ` Tom Rini
2011-02-26 16:14             ` Sledz, Steffen
2011-02-15 15:01   ` Phil Blundell

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=4D679C54.9060202@opendreambox.org \
    --to=obi@opendreambox.org \
    --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.