Skip to content

linux-yocto: build changes, 4.1 and libc-headers

Bruce Ashfield openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4linux-yocto: split meta data from kernel repositorymeta/classes/kernel-yocto.bbclass meta/recipes-kernel/linux/linux-yocto-dev.bb meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb +4 more+28 -880 replies
2/4kern-tools: standalone tree configurationmeta/recipes-kernel/kern-tools/kern-tools-native_git.bb+1 -10 replies
3/4linux-libc-headers: update to 4.1meta/conf/distro/include/tcmode-default.inc meta/recipes-kernel/linux-libc-headers/linux-libc-headers.inc meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.19.bb +1 more+10 -80 replies
4/4linux-yocto: introduce 4.1 versioned recipesmeta/recipes-kernel/linux/linux-yocto-rt_4.1.bb meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb meta/recipes-kernel/linux/linux-yocto_4.1.bb+90 -00 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/4] linux-yocto: build changes, 4.1 and libc-headers

Hi all,

This series absolutely needs some more testing and runs through the autobuilder, but I've done pretty much all I can do with it here.

I have more changes to the build process that will follow this, but these changes need to show that they are stable, so here's the first blast.

With this series:

- I create the 4.1, and 4.1-rt linux-yocto content. This will be the new LTSI kernel. Deletion of 3.14 and 3.19 will follow once all machines have been moved forward.

- libc-headers updated to match the 4.1 kernel version.

And the one that could cause some issues/compatibility issues is the split of the kernel configuration data from the kernel tree itself.

From the commit log:

The linux-yocto tree has always been a combined set of kernel changes and configuration (meta) data carried in a single tree. While this format is effective at keeping kernel configuration and source modifications synchronized, it isn't always obvious to developers on how to manipulate the meta data versus the source.

With this change, we remove the meta data processing from the kernel-yocto class and use the external meta-data repository that has always been used to seed the linux-yocto meta branch.

After this change, linux-yocto can no longer process combined trees, and is simplified as a result.

I'm interested to find out if we get any breakages or severe compability issues with the change. I don't want to support both variants of the meta data (in and out of tree), since the goal is to reduce complexity in the code. Once this change lands, I'll further streamline things.

I've built core-image-kernel-dev and boot tested the qemu* machines. qemuppc continues to show a boot failure with systemd, but we have a bugzilla to track that.

I'm now doing graphical testing, but wanted to get this out and soaking for other images types while I wait for builds to churn.

Cheers,

Bruce

The following changes since commit 0f8d89ce66cfffccc9911d6c61470a585173b79d:

core-image-lsb-sdk: use kernel-devsrc to ensure kernel module builds work (2015-07-20 10:40:42 +0100)

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 (4):
linux-yocto: split meta data from kernel repository
kern-tools: standalone tree configuration
linux-libc-headers: update to 4.1
linux-yocto: introduce 4.1 versioned recipes

 meta/classes/kernel-yocto.bbclass                  | 76 ++--------------------
 meta/conf/distro/include/tcmode-default.inc        |  2 +-
 .../kern-tools/kern-tools-native_git.bb            |  2 +-
 .../linux-libc-headers/linux-libc-headers.inc      |  2 +
 .../linux-libc-headers/linux-libc-headers_3.19.bb  |  7 --
 .../linux-libc-headers/linux-libc-headers_4.1.bb   |  7 ++
 meta/recipes-kernel/linux/linux-yocto-dev.bb       |  5 +-
 meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb   |  7 +-
 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb    | 26 ++++++++
 meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb |  7 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb |  7 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb  | 23 +++++++
 meta/recipes-kernel/linux/linux-yocto_3.14.bb      |  7 +-
 meta/recipes-kernel/linux/linux-yocto_3.19.bb      |  7 +-
 meta/recipes-kernel/linux/linux-yocto_4.1.bb       | 41 ++++++++++++
 15 files changed, 129 insertions(+), 97 deletions(-)
 delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers_3.19.bb
 create mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers_4.1.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto-tiny_4.1.bb
 create mode 100644 meta/recipes-kernel/linux/linux-yocto_4.1.bb
Signature · 1 line
2.1.0