images: introduce core-image-kernel-dev

When building a new kernel, or testing and update to the kernel there
are a set of packages that are sensitive to APIs, build system and
other changes associated with the kernel.

After building this recipe, we can be reasonably sure that a new kernel
package and coupled userspace have been built, installed and tested
via a single image.

(From OE-Core rev: 6c22c0e7e7bb392df6d04864f56d66d3a2c1e32b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield 2014-08-25 13:22:53 -04:00 committed by Richard Purdie
parent a1c24ecbe8
commit b829eaa125
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
DESCRIPTION = "A development image that builds the kernel and packages that are \
sensitive to kernel updates and version changes"
# Could also be core-image-basic, but we'll keep this small for now
require recipes-core/images/core-image-minimal.bb
KERNEL_DEV_UTILS ?= "dropbear"
KERNEL_DEV_TOOLS ?= "packagegroup-core-tools-profile packagegroup-core-buildessential kernel-devsrc"
KERNEL_DEV_MODULE ?= ""
CORE_IMAGE_EXTRA_INSTALL += "${KERNEL_DEV_MODULE} \
${KERNEL_DEV_UTILS} \
${KERNEL_DEV_TOOLS} \
"
# We need extra space for things like kernel builds, etc.
IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000"