generic-poky/meta/recipes-kernel/linux
Darren Hart 68a8caa738 kernel: Add kernel headers to kernel-dev package
[YOCTO #1614]

Add the kernel headers to the kernel-dev package. This packages what was
already built and kept in sysroots for building modules with bitbake.
Making this available on the target requires removing some additional
host binaries.

Move the location to /usr/src/kernel

Before use on the target, the user will need to:

    # cd /usr/src/kernel
    # make scripts

This renders the kernel-misc recipe empty, so remove it.

As we use /usr/src/kernel in several places (and I missed one in the
previous version), add a KERNEL_SRC_DIR variable and use that throughout
the class to avoid update errors in the future.

Now that we package the kernel headers, drop the
kernel_package_preprocess function which removed them from PKGD.

All *-sdk image recipes include dev-pkgs, so the kernel-dev package will
be installed by default on all such images.

(From OE-Core rev: 6125ea40d4483965f793bd847b3ce14b668a5b1e)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
CC: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04 17:40:33 +01:00
..
linux-dummy linux-dummy: add license and LIC_FILES_CHKSUM 2011-01-20 21:36:59 +00:00
linux-yocto Add Upstream-Status to patches 2012-01-03 12:14:31 +00:00
linux-dtb.inc linux-dtb: add multi-dtb build support 2012-06-28 16:26:44 +01:00
linux-dummy.bb linux-dummy: add license and LIC_FILES_CHKSUM 2011-01-20 21:36:59 +00:00
linux-yocto-rt_3.0.bb linux-yocto: Use INC_PR and move kernel require to linux-yocto.inc 2012-06-29 13:31:01 +01:00
linux-yocto-rt_3.2.bb linux-yocto: Use INC_PR and move kernel require to linux-yocto.inc 2012-06-29 13:31:01 +01:00
linux-yocto-rt_3.4.bb linux-yocto/3.4: update preempt-rt to 3.4.4-rt13 2012-07-04 17:40:33 +01:00
linux-yocto-tiny_3.2.bb linux-yocto-tiny: add KMETA specification 2012-07-04 17:40:33 +01:00
linux-yocto.inc kernel: Add kernel headers to kernel-dev package 2012-07-04 17:40:33 +01:00
linux-yocto_3.0.bb linux-yocto: Use INC_PR and move kernel require to linux-yocto.inc 2012-06-29 13:31:01 +01:00
linux-yocto_3.2.bb linux-yocto: Use INC_PR and move kernel require to linux-yocto.inc 2012-06-29 13:31:01 +01:00
linux-yocto_3.4.bb linux-yocto/3.4: update preempt-rt to 3.4.4-rt13 2012-07-04 17:40:33 +01:00