[PATCH 0/7] kernel: consolidated pull for developer experience

Bruce Ashfield
2014-12-10T10:34:13Z

Richard,

Here are the first (and largest) kernel developer experience changes for the 1.8
release.

Obviously you are the author of patch 1 in the series, and I've made changes to
fixup the remaining out of tree module build, and on-target kernel build issues.

With these changes in place, I've built and booted the linux-yocto kernels, as
well as build the kernel itself on the target .. so they are definitely sane
from that point of view. I won't swear that there aren't any cornder cases still
lurking, but we need more eyes and tests to find those cases.

With this series, we've move a lot of the source copying and I/O intensive
operations to the kernelsrc recipe .. which makes them optional and not an
impact on the typical build/developer. As described in pach 1, the kernel is
unpacked, manipulated and built directly from STAGING_DIR_KERNEL.

If the src is required, the kerneldevsrc recipe can be added to the
DEPENDS/RDEPENDS and the packaging will happen (with the associated overhead).

I've kept the series history as you see it on purpose, so we can capture
credit for the optimization idea, and to make the changes more digestible
to those reading the series. If we want some additional squashing of the
commits, I'm happy to do that as well.

The final parts of this series are some collected kernel build fixes that
I've had for a while, but are minor in the grand scheme of things.

Cheers,

Bruce

Bruce Ashfield (5):
kernel: fix out of tree module builds
kerneldev: create kernel-devsrc packaging
images: introduce core-image-kernel-dev
lttng/perf: depend on virtual/kernel:do_install
kernel-yocto: fix non-git builds

Jeff Wang (1):
kernel-yocto: make sure git tags get dereferenced properly in
do_patch()

Richard Purdie (1):
kernel: Rearrange for 1.8

meta/classes/kernel-yocto.bbclass | 8 +-
meta/classes/kernel.bbclass | 93 ++++------------------
meta/classes/linux-kernel-base.bbclass | 13 ++-
.../images/core-image-kernel-dev.bb | 17 ++++
meta/recipes-kernel/linux/kernel-devsrc.bb | 50 ++++++++++++
meta/recipes-kernel/lttng/lttng-modules_2.5.0.bb | 1 +
meta/recipes-kernel/perf/perf.bb | 12 +--
7 files changed, 104 insertions(+), 90 deletions(-)
create mode 100644 meta/recipes-extended/images/core-image-kernel-dev.bb
create mode 100644 meta/recipes-kernel/linux/kernel-devsrc.bb

--
2.1.0