diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2011-07-20 16:17:40 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-22 11:51:03 +0100 |
commit | 2dd9a8ff006732d07563b7812e9487c17e859eb9 (patch) | |
tree | 7be8b81b2df245a0ae4946fbfe51be2eb8cf6557 /meta | |
parent | d5b665bb187082e5ac6512b51145a270271c7846 (diff) | |
download | poky-2dd9a8ff006732d07563b7812e9487c17e859eb9.tar.gz |
linux-yocto: kernel-3.0 support recipe
Establish the infrastructure to start more comprehensive linux-3.0
testing. With this in place, the populated linux-yocto 3.0 can
optionally be built for supported machines.
Note: this commit does not change the default for any targets and
as such, it would need to be explicitly set as the preferred version
to be built. The staged introduction allows some remaining issues to
be solved, while making this available. Subsequent commits will be
done to switch qemu machines ones they have been validated. If the
default for a machine is not this kernel, consider it best effort.
(From OE-Core rev: 6b9379e9d409713e5bd9bb46b38968d41cd834e1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.0.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb new file mode 100644 index 0000000000..342993f03d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | inherit kernel | ||
2 | require recipes-kernel/linux/linux-yocto.inc | ||
3 | |||
4 | KMACHINE = "yocto/standard/base" | ||
5 | KMACHINE_qemux86 = "yocto/standard/common-pc/base" | ||
6 | KMACHINE_qemux86-64 = "yocto/standard/common-pc-64/base" | ||
7 | KMACHINE_qemuppc = "yocto/standard/qemu-ppc32" | ||
8 | KMACHINE_qemumips = "yocto/standard/mti-malta32-be" | ||
9 | KMACHINE_qemuarm = "yocto/standard/arm-versatile-926ejs" | ||
10 | |||
11 | KBRANCH = ${KMACHINE} | ||
12 | KMETA = meta | ||
13 | |||
14 | LINUX_VERSION ?= "3.0" | ||
15 | LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" | ||
16 | |||
17 | SRCREV_machine_qemuarm = "021129d0ad7dd63cbe68c9a1d369519a9e5e8440" | ||
18 | SRCREV_machine_qemumips = "e86282b3085c5310d1c43af66242845ddadd49b6" | ||
19 | SRCREV_machine_qemuppc = "f4ce805d0b74f9f32b6455730485120e27a4711e" | ||
20 | SRCREV_machine_qemux86 = "3216e7d5c3cada16161481826cdb39c930457587" | ||
21 | SRCREV_machine_qemux86-64 = "3216e7d5c3cada16161481826cdb39c930457587" | ||
22 | SRCREV_machine = "3216e7d5c3cada16161481826cdb39c930457587" | ||
23 | SRCREV_meta = "9010d1cbef2633dac7e559a7705c326b7601dd4c" | ||
24 | |||
25 | PR = "r0" | ||
26 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
27 | SRCREV_FORMAT = "meta_machine" | ||
28 | |||
29 | SRC_URI = "git://git.pokylinux.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta" | ||
30 | |||
31 | COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)" | ||
32 | |||
33 | # Functionality flags | ||
34 | KERNEL_REVISION_CHECKING ?= "t" | ||
35 | KERNEL_FEATURES="features/netfilter" | ||
36 | KERNEL_FEATURES_append=" features/taskstats" | ||
37 | KERNEL_FEATURES_append_qemux86=" cfg/sound" | ||
38 | KERNEL_FEATURES_append_qemux86-64=" cfg/sound" | ||
39 | |||
40 | YOCTO_KERNEL_META_DATA=t | ||
41 | |||
42 | # extra tasks | ||
43 | addtask kernel_link_vmlinux after do_compile before do_install | ||
44 | addtask validate_branches before do_patch after do_kernel_checkout | ||
45 | addtask kernel_configcheck after do_configure before do_compile | ||
46 | |||
47 | require linux-tools.inc | ||