From f24f7fde73c25e4fffca2de550948cecaa2c715b Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Tue, 3 Nov 2020 14:11:43 +0000 Subject: [PATCH] arm-bsp/kernel: Introduce linux-linaro-arm-rt recipe 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 Signed-off-by: Jon Mason --- .../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 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 00000000..4ee46be0 --- /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"