From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/3] kernel: consolidated pull request
Date: Tue, 27 Feb 2018 21:06:53 -0500 [thread overview]
Message-ID: <cover.1519783331.git.bruce.ashfield@windriver.com> (raw)
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
next reply other threads:[~2018-02-28 2:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 2:06 Bruce Ashfield [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1519783331.git.bruce.ashfield@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.