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

Tom Rini tom_rini at mentor.com
Wed Jun 16 02:06:34 UTC 2010


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




More information about the Openembedded-devel mailing list