[OE-core] [PATCH v5] kernel-devsrc: restructure for out of tree (and on target) module builds
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Nov 16 02:15:46 UTC 2018
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?
Thanks,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list