All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kernel: consolidated pull request
@ 2018-02-28  2:06 Bruce Ashfield
  2018-02-28  2:06 ` [PATCH 1/3] linux-yocto/4.14/4.15: yaffs2 fixes Bruce Ashfield
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bruce Ashfield @ 2018-02-28  2:06 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core

Hi all,

I have some more -stable changes queued for the kernels, but didn't want
to sit on these any longer, in particulare the re-work of kernel-devsrc
to not suck up hundreds of megs, or hundreds of seconds of processing.

The 4.12 update is a feature addition, while 4.14/4.15 are yaffs2 warning
fixes.

The commit log for kernel-devsrc explains the changes:

-----------------------

    Subject: [PATCH 3/3] kernel-devsrc: restructure for out of tree (and on  target) module builds

    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.

    The differences in this approach versus other is largely due to the
    architecture support and the split build/source directory of the
    kernel.

    The result is a kernel-devsrc package of about 10M, which is capable
    of running "make scripts" and compiling kernel modules against the
    running kernel.

    Along with the changes to the copying of the infrascture, we also
    have the following changes:

     - a better/more explicit listing of dependencies for on-target
       builds of "make scripts" or "make modules_prepare"

     - The kernel source is installed into /lib/modules/<version>/build
       and a symlink created from /usr/src/kernel to the new location.
       This aligns with the standard location for module support
       code

     - 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.

    [YOCTO #12535]

    Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>

-----------------------

Cheers,

Bruce

The following changes since commit 1b7a9d4f63d07d61d53daac12da275e8ef2feb24:

  buildhistory-diff: honour report_all flag (2018-02-24 10:35:59 +0000)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib zedd/kernel
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (3):
  linux-yocto/4.14/4.15: yaffs2 fixes
  linux-yocto/4.12: add stratix10 SoC development board
  kernel-devsrc: restructure for out of tree (and on target) module
    builds

 meta/recipes-kernel/linux/kernel-devsrc.bb         | 178 ++++++++++++++++-----
 meta/recipes-kernel/linux/linux-yocto-rt_4.12.bb   |   2 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.14.bb   |   4 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.15.bb   |   4 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.12.bb |   2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.14.bb |   4 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.15.bb |   4 +-
 meta/recipes-kernel/linux/linux-yocto_4.12.bb      |  16 +-
 meta/recipes-kernel/linux/linux-yocto_4.14.bb      |  18 +--
 meta/recipes-kernel/linux/linux-yocto_4.15.bb      |  18 +--
 10 files changed, 174 insertions(+), 76 deletions(-)

-- 
2.5.0



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-01  9:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-28  2:06 [PATCH 0/3] kernel: consolidated pull request Bruce Ashfield
2018-02-28  2:06 ` [PATCH 1/3] linux-yocto/4.14/4.15: yaffs2 fixes Bruce Ashfield
2018-03-01  8:53   ` Maxin B. John
2018-03-01  9:32     ` Burton, Ross
2018-02-28  2:06 ` [PATCH 2/3] linux-yocto/4.12: add stratix10 SoC development board Bruce Ashfield
2018-02-28  2:06 ` [PATCH 3/3] kernel-devsrc: restructure for out of tree (and on target) module builds Bruce Ashfield
2018-02-28 16:38   ` Burton, Ross
2018-02-28 16:51     ` Bruce Ashfield
2018-02-28 17:38       ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.