Skip to content

kernel: consolidated pull for developer experience

Bruce Ashfield openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7kernel: Rearrange for 1.8meta/classes/kernel-yocto.bbclass meta/classes/kernel.bbclass meta/classes/linux-kernel-base.bbclass +1 more+20 -981 reply
2/7kernel: fix out of tree module buildsmeta/classes/kernel.bbclass+22 -09 replies
3/7kerneldev: create kernel-devsrc packagingmeta/recipes-kernel/linux/kernel-devsrc.bb+50 -00 replies
4/7images: introduce core-image-kernel-devmeta/recipes-extended/images/core-image-kernel-dev.bb+17 -00 replies
5/7lttng/perf: depend on virtual/kernel:do_installmeta/recipes-kernel/lttng/lttng-modules_2.5.0.bb meta/recipes-kernel/perf/perf.bb+2 -10 replies
6/7kernel-yocto: fix non-git buildsmeta/classes/kernel-yocto.bbclass+3 -10 replies
7/7kernel-yocto: make sure git tags get dereferenced properly in do_patch()meta/classes/kernel-yocto.bbclass+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
2.1.0