# 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 ?= "b0615811ce38836d1ade230e3bdb1efaaa68471f"
SRCREV_machine_pn-linux-yocto-rt_qemux86-64 ?= "f49444f06875894389e640bcda6c3f6ceb1f0c3e"
SRCREV_machine_pn-linux-yocto-rt_atom-pc ?= "78dacaf8222c9492ba17f652989ef3466423bdc2"

