diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-07-25 11:10:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-12 17:16:59 +0100 |
commit | bafaaad264fe3e745c714951ddcf2784d33b755a (patch) | |
tree | cb475094cdc455d46cf0148f0ddb7046c9407bd7 /meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb | |
parent | 92aa6a587f4fabfadbebdb7ae24306d36f43910a (diff) | |
download | openembedded-core-bafaaad264fe3e745c714951ddcf2784d33b755a.tar.gz openembedded-core-bafaaad264fe3e745c714951ddcf2784d33b755a.tar.bz2 openembedded-core-bafaaad264fe3e745c714951ddcf2784d33b755a.tar.xz openembedded-core-bafaaad264fe3e745c714951ddcf2784d33b755a.zip |
Move meta-rt recipes to oe-core (meta)
Keeping the rt recipes in their own layer has led to maintenance issues,
particularly with the linux-yocto-rt recipes. As these kernel types are part of
the same linux-yocto source repository, it seems reasonable to include the rt
kernel recipes alongside the standard recipes. A new recipes-rt directory for
the other recipes provides adequate separation and eliminates the need for a
separate layer.
As there is no meta-rt/conf/layer.conf to force the kernel, users must now
specify the rt kernel in their local.conf or in the machine.conf:
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
The merging of the rt recipes into the core also eliminates complications with
multiple layer dependencies for new BSP layers. Having to either separate RT
BSPs from standard BSPs or force users to add meta-rt to bblayers even when not
building an RT BSP (because the RT BSPs in the same layer would fail to parse
without it) was sub-optimal at best.
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb')
-rw-r--r-- | meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb b/meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb deleted file mode 100644 index 0ca53ae43..000000000 --- a/meta-rt/recipes-kernel/linux/linux-yocto-rt_2.6.34.bb +++ /dev/null @@ -1,44 +0,0 @@ -inherit kernel -require recipes-kernel/linux/linux-yocto.inc - -KMACHINE = "common-pc" -KMACHINE_qemux86 = "common_pc" -KMACHINE_qemux86-64 = "common_pc_64" - -LINUX_VERSION ?= "2.6.34" -LINUX_KERNEL_TYPE = "preempt_rt" -LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE_EXTENSION}" - -KMETA = wrs_meta -KBRANCH = ${KMACHINE}-${LINUX_KERNEL_TYPE} - -SRCREV_machine_qemux86 = "439602eb6acd53d9beb8493710310214fc7bd749" -SRCREV_machine_qemux86-64 = "3c84c45ad3c3592f9c7ff4076de9bee417cd322e" -SRCREV_machine = "439602eb6acd53d9beb8493710310214fc7bd749" -SRCREV_meta = "e1f85a470934a0cf6abde5d95533e74501822c6b" - -PR = "r2" -PV = "${LINUX_VERSION}+git${SRCPV}" -SRCREV_FORMAT = "meta_machine" - -COMPATIBLE_MACHINE = "(qemux86|qemux86-64)" - -# this performs a fixup on the SRCREV for new/undefined BSPs -python __anonymous () { - import bb, re, string - - kerntype = string.replace(bb.data.expand("${LINUX_KERNEL_TYPE}", d), "_", "-") - bb.data.setVar("LINUX_KERNEL_TYPE_EXTENSION", kerntype, d) -} - -SRC_URI = "git://git.yoctoproject.org/linux-yocto-2.6.34.git;protocol=git;nocheckout=1;branch=${KBRANCH},wrs_meta;name=machine,meta" - -# Functionality flags -KERNEL_REVISION_CHECKING ?= "t" -KERNEL_FEATURES=features/netfilter - -# extra tasks -addtask kernel_link_vmlinux after do_compile before do_install -addtask validate_branches before do_patch after do_kernel_checkout - -require recipes-kernel/linux/linux-tools.inc |