mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
meta-rt: add linux-yocto-rt_3.0 recipe
Add the initial linux-yocto-rt_3.0 recipe. qemumips and qemuppc doesn't work quite yet, so they have been omitted from COMPATIBLE_MACHINE. (From OE-Core rev: 443533914c43c79d8b15185c32f75df450c6aae7) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8f7cb53a29
commit
3a68590a54
46
meta-rt/recipes-kernel/linux/linux-yocto-rt_3.0.bb
Normal file
46
meta-rt/recipes-kernel/linux/linux-yocto-rt_3.0.bb
Normal file
@@ -0,0 +1,46 @@
|
||||
inherit kernel
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
KMACHINE = "common-pc"
|
||||
KMACHINE_qemux86 = "common-pc"
|
||||
KMACHINE_qemux86-64 = "common-pc-64"
|
||||
KMACHINE_qemuarm = "arm-versatile-926ejs"
|
||||
KMACHINE_qemuppc = "qemu-ppc32"
|
||||
KMACHINE_qemumips = "mti-malta32-be"
|
||||
|
||||
KBRANCH = "yocto/standard/preempt-rt/base"
|
||||
KMETA = meta
|
||||
|
||||
LINUX_VERSION ?= "3.0"
|
||||
LINUX_KERNEL_TYPE = "preempt-rt"
|
||||
LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
|
||||
|
||||
SRCREV_machine = "7e1e5b6c8a13c615feb0d7b6d37988a094aae98f"
|
||||
SRCREV_meta = "7782fc673afd6a1c742409896ae787560d96fce8"
|
||||
|
||||
PR = "r0"
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
SRCREV_FORMAT = "meta_machine"
|
||||
|
||||
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
|
||||
|
||||
# Omit broken machines from COMPATIBLE_MACHINE
|
||||
# qemuppc hangs at boot
|
||||
# qemumips panics at boot
|
||||
COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm)"
|
||||
|
||||
# Functionality flags
|
||||
KERNEL_REVISION_CHECKING ?= "t"
|
||||
KERNEL_FEATURES=features/netfilter
|
||||
KERNEL_FEATURES_append=" features/taskstats"
|
||||
KERNEL_FEATURES_append_qemux86=" cfg/sound"
|
||||
KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
|
||||
|
||||
YOCTO_KERNEL_META_DATA=t
|
||||
|
||||
# extra tasks
|
||||
addtask kernel_link_vmlinux after do_compile before do_install
|
||||
addtask validate_branches before do_patch after do_kernel_checkout
|
||||
addtask kernel_configcheck after do_configure before do_compile
|
||||
|
||||
require recipes-kernel/linux/linux-tools.inc
|
||||
Reference in New Issue
Block a user