[OE-core] [PATCH v5] kernel-devsrc: restructure for out of tree (and on target) module builds

Bruce Ashfield bruce.ashfield at windriver.com
Fri Nov 16 04:18:59 UTC 2018


On 2018-11-15 9:15 p.m., Paul Eggleton wrote:
> Hi Bruce
> 
> I just came across this the other day and I had one question:
> 
> On Sunday, 19 August 2018 2:50:44 PM NZDT Bruce Ashfield wrote:
>> The existing kernel-devsrc package starts with a full copy of the kernel
>> source and then starts to strip out elements that are not required.
>>
>> This results in extra time (I/O) and extra space being taken up in the
>> final package. The main purpose of the kernel-devsrc package has been to
>> build modules against the running kernel, not to include a full copy of
>> the source code for re-building the kernel. The end result was a
>> 600M kernel-devsrc package.
>>
>> This restructuring of the package uses an approach similar to other
>> distros, where the kernel-devsrc package is for building against the
>> running kernel and uses a curated set of copied infrastructure, versus
>> a mass copy of the entire kernel.
>> ...
>>   - There is also a symlink from /lib/modules/<version>/source -> build
>>     to reserve a spot for a new package that is simply the kernel
>>     source. That package is not part of this update.
> 
> Did you manage to get to this or is it still planned?

We did get to it, and it is in the 2.6 release.

Bruce

> 
> Thanks,
> Paul
> 



More information about the Openembedded-core mailing list