Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-09 Thread Cui, Dexuan
Darren Hart wrote on 2012-04-07: On 04/06/2012 12:48 AM, Cui, Dexuan wrote: It seems to me some work is needed at ESDC to account for proper development techniques and not reward sloppy development. Writing maintainable code is an important part of professional software engineers do every

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-09 Thread Cui, Dexuan
Daniel Lazzari wrote on 2012-04-07: On 04/05/2012 09:41 PM, Cui, Dexuan wrote: Surely, the standard way is: we should write a recipe to cross-compile and install the driver. But this is difficult to the students: 1) They're not familiar with Poky at all, and actually the downloaded wifi

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-09 Thread Maksym Parkachov
Hi Dexuan, Any chance the students could cross compile the wifi module using an external toolchain? We could try this. But even I didn't try this before, so this needs efforts to find it out. I wanted to achieve exactly the same, namely, compiling modules with external toolchain. I spend

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Darren Hart
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

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Cui, Dexuan
Darren Hart wrote on 2012-04-06: 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

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Cui, Dexuan
Cui, Dexuan wrote on 2012-04-06: Darren Hart wrote on 2012-04-06: On 04/05/2012 09:41 PM, Cui, Dexuan wrote: 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

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Darren Hart
On 04/06/2012 04:12 AM, Cui, Dexuan wrote: Cui, Dexuan wrote on 2012-04-06: Darren Hart wrote on 2012-04-06: On 04/05/2012 09:41 PM, Cui, Dexuan wrote: 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

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Darren Hart
On 04/06/2012 12:48 AM, Cui, Dexuan wrote: Darren Hart wrote on 2012-04-06: 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

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-06 Thread Daniel Lazzari
Darren Hart wrote on 2012-04-06: 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

[OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-05 Thread Cui, Dexuan
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

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-05 Thread Darren Hart
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/

Re: [OE-core] Do we have a package that installs the kernel headers and config into the target?

2012-04-05 Thread Cui, Dexuan
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