[OE-core] Do we have a package that installs the kernel headers and config into the target?
dvhart at linux.intel.com
Fri Apr 6 08:07:26 CEST 2012
On 04/05/2012 09:41 PM, Cui, Dexuan wrote:
> Darren Hart wrote on 2012-04-06:
>> On 04/05/2012 08:20 PM, Cui, Dexuan wrote:
>>> In a typical Linux distribution, there is a build link(or directory)
>>> that specifies the directory where the kernel headers and kernel config
>>> are put.
>>> E.g. in my Ubuntu 11.04, a package linux-headers-2.6.38-8-generic
>> installs .config, include/ and Kconfig into
>> /usr/src/linux-headers-2.6.38-8-generic/ and makes a link
>> /lib/modules/2.6.38-8-generic/build to point to the directory.
>>> However, looks in Yocto, we don't have such a package? Do we have a
>>> plan to add it?
>>> I'm asking the question because in the ESDC contest, the students found in
>> Yocto they couldn't build the wifi driver's source code that was
>> downloaded from realtek.com:
>> 8&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads =true
>>> In Ubuntu, they can build the driver fine.
>> There is an open bug:
> Glad to know this is a know bug.
> I personally think it would be pretty nice if we can fix this bug soon
> since the students are being frustrated by this...
> And, in the Build Appliance (self-hosted-image) work, we want to
> enable the vmware guest's VMware Tools. This also requires the ability
> to build kernel module in the target.
While I understand there are valid use cases, I think this is generally
contrary to workflow of the project. We build the OS, it runs on the
target. This is building a general purpose OS, and then having it build
itself out more. It doesn't feel like an embedded workflow.
That said, there are valid use cases, but I don't consider this a
particularly high priority at the moment. I'm happy to hear other
thoughts on why this should be bumped in prio though.
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the Openembedded-core