[oe] [PATCH, RFC] Add linux-libc-headers-native, make it default dep for native

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Jun 16 07:36:17 UTC 2010


2010/6/16 Tom Rini <tom_rini at mentor.com>:
> Leon Woestenberg wrote:
>>
>> Hello Tom,
>>
>> On Tue, Jun 15, 2010 at 7:48 PM, Tom Rini <tom_rini at mentor.com> wrote:
>>>
>>> For the second, yes, ASSUME_PROVIDED still works.  For the first, I'd
>>> argue
>>> that doing so is a lot harder (at least without some additional
>>> infrastructure and reliance on other external tools) than just adding
>>> another early package.
>>>
>>> So, yay or nay?
>>>
>> I would say the ASSUME_PROVIDED for the native linux headers should be
>> mentioned in the local.conf.sample,
>> commented out, so that users can enable it easily (optimize the build
>> like Khem says).
>>
>> Could you add that to the patch, or as a follow-up patch?
>
> As a follow-up:
> --- a/conf/local.conf.sample
> +++ b/conf/local.conf.sample
> @@ -30,6 +30,11 @@ BBFILES := "${@bb.fatal('Edit your conf/local.conf:
> BBFILES')}"
>  # This is a regulary expression, so be sure to get your parenthesis
> balanced.
>  BBMASK = ""
>
> +# Uncomment this if your host distribution has recent enough Linux
> +# Kernel header files.  Utilities we use to generate certain types of
> +# target filesystems need somewhat recent header files.
> +# ASSUME_PROVIDED += "linux-libc-headers-native"
> +
>  # Uncomment this if you want to use a prebuilt toolchain. You will need to
>  # provide packages for toolchain and additional libraries yourself. You
> also
>  # have to set PATH in your environment to make sure BitBake finds
> additional binaries.
>
> --
> Tom Rini
> Mentor Graphics Corporation

Suggest to write a separate email with a catchy title telling people
that this change becomes in effect (after the commit is done).
rationale: after the change is made, people will get the headers by
default, and not everyone reads this thread.

Frans




More information about the Openembedded-devel mailing list