[meta-arm,3/4] arm-bsp/kernel: Introduce linux-linaro-arm-rt recipe

Submitted by Diego Sueiro on Nov. 3, 2020, 2:11 p.m. | Patch ID: 178144

Details

Message ID a88ede5a1df3c3ccc47fee764131ac7a019b8321.1604412597.git.diego.sueiro@arm.com
State New
Headers show

Commit Message

Diego Sueiro Nov. 3, 2020, 2:11 p.m.
The linux-linaro-arm-rt recipe provides the kernel with PREEMPT_RT patches and
is based on linux-linaro-arm_5.4.bb. Set PREFERRED_PROVIDER_virtual/kernel to
linux-linaro-arm-rt to enable it as the default kernel.

Change-Id: I8c3e59c476ff3f8e434841f8f0aa11eaa6c799bd
Issue-Id: SCM-1653
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>

---
 meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt_5.4.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt_5.4.bb

-- 
2.7.4
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1323): https://lists.yoctoproject.org/g/meta-arm/message/1323
Mute This Topic: https://lists.yoctoproject.org/mt/78006816/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt_5.4.bb b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt_5.4.bb
new file mode 100644
index 0000000..4ee46be
--- /dev/null
+++ b/meta-arm-bsp/recipes-kernel/linux/linux-linaro-arm-rt_5.4.bb
@@ -0,0 +1,12 @@ 
+# This recipe provides the kernel with PREEMPT_RT patches and is based on
+# linux-linaro-arm_5.4.bb. Set PREFERRED_PROVIDER_virtual/kernel to
+# linux-linaro-arm-rt to enable it as the default kernel.
+require linux-linaro-arm_5.4.bb
+
+#
+# Include preempt-rt patches
+#
+SRC_URI_append = " https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.3-rt1.patch.gz;name=rt-patch"
+SRC_URI[rt-patch.sha256sum] = "6b92ba32c7ce30919c9b66e49e5f1dce58e1f8bd92fef91e548d6f2d434a2b39"
+
+LINUX_KERNEL_TYPE = "preempt-rt"