mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
linux-intel-rt: Add recipe to support preempt-rt kernel
This adds the linux-intel production kernel to meta-intel with the base-rt branch. Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
b275a11389
commit
45bd09ccc2
40
common/recipes-kernel/linux/linux-intel-rt_4.9.bb
Normal file
40
common/recipes-kernel/linux/linux-intel-rt_4.9.bb
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
require recipes-kernel/linux/linux-yocto.inc
|
||||
|
||||
# Skip processing of this recipe if it is not explicitly specified as the
|
||||
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
|
||||
# to build multiple virtual/kernel providers, e.g. as dependency of
|
||||
# core-image-rt-sdk, core-image-rt.
|
||||
python () {
|
||||
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt":
|
||||
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
|
||||
}
|
||||
|
||||
KBRANCH = "base-rt"
|
||||
SRCREV_machine ?= "847b27d4831aa7271ec0ffc4c41cfca46491a305"
|
||||
SRCREV_meta ?= "803b8d600e45afa0375459bf599fe365571a3866"
|
||||
|
||||
SRC_URI = "git://github.com/01org/linux-intel-4.9.git;protocol=https;name=machine;branch=${KBRANCH}; \
|
||||
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA}"
|
||||
|
||||
LINUX_VERSION ?= "4.9.20"
|
||||
|
||||
PV = "${LINUX_VERSION}+git${SRCPV}"
|
||||
|
||||
KMETA = "kernel-meta"
|
||||
KCONF_BSP_AUDIT_LEVEL = "2"
|
||||
|
||||
LINUX_KERNEL_TYPE = "preempt-rt"
|
||||
KERNEL_FEATURES_INTEL_COMMON = ""
|
||||
|
||||
COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}"
|
||||
KMACHINE_core2-32-intel-common = "intel-core2-32"
|
||||
KERNEL_FEATURES_append_core2-32-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}"
|
||||
|
||||
COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}"
|
||||
KMACHINE_corei7-64-intel-common = "intel-corei7-64"
|
||||
KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}"
|
||||
|
||||
COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}"
|
||||
KMACHINE_i586-nlp-32-intel-common = "intel-quark"
|
||||
KERNEL_FEATURES_append_i586-nlp-32-intel-common = ""
|
||||
Loading…
Reference in New Issue
Block a user