aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-yocto-bsp/recipes-kernel/linux/linux-yocto-4.4/genericx86-preempt-rt.scc15
-rw-r--r--meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend3
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-4.4/genericx86-preempt-rt.scc b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-4.4/genericx86-preempt-rt.scc
new file mode 100644
index 00000000000..733ba1b2e37
--- /dev/null
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto-4.4/genericx86-preempt-rt.scc
@@ -0,0 +1,15 @@
+define KMACHINE genericx86
+define KTYPE preempt-rt
+define KARCH i386
+
+# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc branch
+include ktypes/preempt-rt/preempt-rt.scc
+
+include bsp/common-pc/common-pc.scc
+
+# default policy for preempt-rt kernels
+include cfg/boot-live.scc
+include cfg/usb-mass-storage.scc
+include features/latencytop/latencytop.scc
+include features/profiling/profiling.scc
+include cfg/virtio.scc
diff --git a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend
index e31b0c8f2d9..0ac6f65adc3 100644
--- a/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend
+++ b/meta-yocto-bsp/recipes-kernel/linux/linux-yocto_4.4.bbappend
@@ -21,3 +21,6 @@ COMPATIBLE_MACHINE_mpc8315e-rdb = "mpc8315e-rdb"
LINUX_VERSION_genericx86 = "4.4.3"
LINUX_VERSION_genericx86-64 = "4.4.3"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto-4.4:"
+SRC_URI += " file://genericx86-preempt-rt.scc" \ No newline at end of file