From 7a41d96c946029aeec03cd26f326bc6ca26e74fd Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Wed, 27 Jun 2012 17:38:57 -0700 Subject: linux-yocto: Use INC_PR and move kernel require to linux-yocto.inc When making changes to kernel.bbclass, it would be nice not to have to manually change the PR of every linux-yocto*.bb file that requires it. Move the "require kernel" line to linux-yocto.inc and update the linux-yocto recipes to use INC_PR. Signed-off-by: Darren Hart CC: Bruce Ashfield CC: Tom Zanussi --- meta/recipes-kernel/linux/linux-yocto.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-kernel/linux/linux-yocto.inc') diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 0912beef5a..9b46e74531 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc @@ -4,6 +4,8 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" +INC_PR = "r3" + # A KMACHINE is the mapping of a yocto $MACHINE to what is built # by the kernel. This is typically the branch that should be built, # and it can be specific to the machine or shared @@ -23,6 +25,7 @@ do_patch[depends] = "kern-tools-native:do_populate_sysroot" addtask kernel_configme before do_configure after do_patch # Pick up shared functions +inherit kernel inherit kernel-yocto require linux-dtb.inc -- cgit 1.2.3-korg