Skip to content

RFC kernel.bbclass: remove explicit version.h target

Bruce Ashfield openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1kernel.bbclass: remove explicit version.h targetmeta/classes/kernel.bbclass+0 -14 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/1] kernel.bbclass: remove explicit version.h target

Hi all,

I'm doing a quick RFC on a patch to get 3.7 based kernels building again.

The patch has the details on the kernel commits that have moved version.h around, which breaks our builds due to an explicit reference in kernel.bbclass.

I thought about making the call conditional, but as the patch says, this introduces a bit more complexity where it might not be required. Removing the reference to version.h fixes the build, and didn't break any of my older kernel builds (2.6.39, 3.0, 3.2, 3.4) while still producing version.h.

I can't locate the original reason that version.h was being directly built, so that's why this is a RFC. I'm hoping someone will yell if this breaks a use case that I don't know about.

This is stacked on top of my yocto master branch, since it was a RFC. I can rebase onto oe-core, or master under test as appropriate.

Cheers,

Bruce

The following changes since commit e6e2b9bd66100c078c029ca7e34829cf1dfb5490:

documentation: poky-ref-manual - edits to MACHINE type variables. (2012-10-18 12:15:04 +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 (1):
kernel.bbclass: remove explicit version.h target

 meta/classes/kernel.bbclass |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.5.4