summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb')
-rw-r--r--recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb b/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
new file mode 100644
index 0000000..7380678
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
@@ -0,0 +1,18 @@
+LINUX_VERSION ?= "6.6.20-rt25"
+require recipes-kernel/linux/linux-toradex-upstream_6.6.bb
+
+SUMMARY = "Toradex mainline real-time Linux kernel"
+# To build the RT kernel we use the RT kernel git repo rather than applying
+# the RT patch on top of a vanilla kernel.
+
+LINUX_REPO = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git"
+SRC_URI:append = " \
+ file://preempt-rt.scc \
+ file://preempt-rt-less-latency.scc \
+"
+
+# set PV manually, that way PREFERRED_VERSION can be set to a constant value
+PV = "6.6"
+KBRANCH = "v6.6-rt"
+SRCREV_machine = "a27814b8cd8f89ad68e29d3d6f8f3b61c65aebf5"
+SRCREV_machine:use-head-next = "${AUTOREV}"