meta-openembedded/meta-oe/classes
Bruce Ashfield 8e489120f9 kernel.bbclass: remove explicit version.h target
The compilation routine for the kernel has an explicit call to
build version.h, which works fine for most kernels, but the
location of it has recently changes.

commit d183e6f5 [UAPI: Move linux/version.h]
commit 10b63956 [UAPI: Plumb the UAPI Kbuilds into the user
                 header installation and checking]

moves the file to include/generated/linux/version.h and then to
include/generated/uapi/linux/version.h.

As a result kernel builds of 3.7 or bisection builds of intermediate
kernel commits will fail with:

  make[2]: *** No rule to make target `include/linux/version.h'.  Stop.

Making the explicit version.h build conditional on the version, or
via a file test would fix the problem, but it introduces some complexity
to the build.

Even without an explicit call to build version.h, it is always produced
by the kernel build, so it can simply be removed.

This extra make line was originally so that the kernel version could be
determined, so that then different instructions could be executed depending
on whether it was a 2.4 or 2.6 kernel. Since we no longer support 2.4, this
code is no longer needed.

[YOCTO: #3293]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-13 18:36:45 +01:00
..
gitpkgv.bbclass Replace bb.data.* with d.* 2012-10-28 14:32:06 +00:00
gitver.bbclass gitver: fix gitver to work with yocto 1.3 2012-10-30 09:51:51 +01:00
gpe.bbclass recipes,classes: import a lot of recipes from meta-shr 2011-04-10 14:43:41 +02:00
kernel.bbclass kernel.bbclass: remove explicit version.h target 2012-11-13 18:36:45 +01:00
machine_kernel_pr.bbclass machine_kernel_pr.bbclass: provides MACHINE_KERNEL_PR functionality 2012-08-20 22:50:01 +02:00
vala.bbclass vala.bbclass: move from meta-efl to meta-oe as libcanberra_0.26.bb is also using it 2011-04-16 13:50:43 +02:00