From 0d7d5666509c013228242b87c1dfd15395af6701 Mon Sep 17 00:00:00 2001 From: Darren Hart Date: Mon, 20 Dec 2010 15:02:40 -0800 Subject: meta-rt: Initial PREEMPT_RT layer and kernel recipes The meta-rt layer provides a preempt_rt kernel recipe using the linux-yocto-stable git tree. It overrides the virtual/kernel provider and defines the compatible machines and per-machine SRCREVs. The initial layer supports only qemux86-64. Signed-off-by: Darren Hart Cc: Tom Zanussi Cc: Bruce Ashfield --- meta-rt/conf/layer.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-rt/conf/layer.conf (limited to 'meta-rt/conf') diff --git a/meta-rt/conf/layer.conf b/meta-rt/conf/layer.conf new file mode 100644 index 0000000000..dbf4a326ba --- /dev/null +++ b/meta-rt/conf/layer.conf @@ -0,0 +1,22 @@ +# Default to first disk/first partition +RSP_ROOT ?= "sda1" + +# We have a conf and classes directory, add to BBPATH +BBPATH := "${BBPATH}:${LAYERDIR}" + +# We have an images and various recipe-* directories, add to BBFILES +BBFILES := "${BBFILES} ${LAYERDIR}/images/*.bb ${LAYERDIR}/images/*.bbappend ${LAYERDIR}/recipes-*/*.bb ${LAYERDIR}/recipes-*/*.bbappend" + +BBFILE_COLLECTIONS += "rt" +BBFILE_PATTERN_rt := "^${LAYERDIR}/" +BBFILE_PRIORITY_rt = "8" + +# This layer builds images using a PREEMPT_RT kernel. Override any machine +# specified kernel providers and leave it up to the kernel recipe to +# determine COMPATIBLE_MACHINE. +PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt" + +# preempt_rt SRCREVs, one for meta, one per machine +SRCREV_meta_pn-linux-yocto-rt ?= "50ccd2b3213b6a1bacb3f898c035119802dac420" +SRCREV_machine_pn-linux-yocto-rt_qemux86-64 ?= "f49444f06875894389e640bcda6c3f6ceb1f0c3e" + -- cgit v1.2.3-54-g00ecf