summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-07-22 11:48:57 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2019-09-18 15:46:39 +0200
commitda6e3087d915b380297f34f87130f49e4b128aca (patch)
tree0e6019c41808f1f316a4dc68440f51e18602a8e5
parent29f90437f3f84f869bb92f30680851b99d6860f6 (diff)
tdx distros: add a distro which builds with the downstream rt kernel
This defines preempt-rt in distro overrides. The individual machine configuration then needs to choose the RT kernel flavour. While at it, unify comment. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--conf/distro/tdx-x11-rt.conf8
-rw-r--r--conf/distro/tdx-x11.conf2
-rw-r--r--conf/distro/tdx-xwayland-rt.conf8
-rw-r--r--conf/distro/tdx-xwayland.conf2
4 files changed, 18 insertions, 2 deletions
diff --git a/conf/distro/tdx-x11-rt.conf b/conf/distro/tdx-x11-rt.conf
new file mode 100644
index 0000000..b3b353e
--- /dev/null
+++ b/conf/distro/tdx-x11-rt.conf
@@ -0,0 +1,8 @@
+# Toradex Distro with X11 without wayland.
+# Using the downstream kernel flavour with rt-patch applied.
+
+require conf/distro/tdx-x11.conf
+
+DISTRO = "tdx-x11-rt"
+DISTRO_NAME = "TDX X11 RT"
+DISTROOVERRIDES .= ":preempt-rt"
diff --git a/conf/distro/tdx-x11.conf b/conf/distro/tdx-x11.conf
index 45bc504..ee4b625 100644
--- a/conf/distro/tdx-x11.conf
+++ b/conf/distro/tdx-x11.conf
@@ -1,5 +1,5 @@
# Toradex Distro with X11 without wayland.
-# Using the downstream kernel flavour
+# Using the downstream kernel flavour.
require conf/distro/include/tdx-base.inc
diff --git a/conf/distro/tdx-xwayland-rt.conf b/conf/distro/tdx-xwayland-rt.conf
new file mode 100644
index 0000000..c84b445
--- /dev/null
+++ b/conf/distro/tdx-xwayland-rt.conf
@@ -0,0 +1,8 @@
+# Toradex Distro for Wayland with XWayland.
+# Using the downstream kernel flavour with rt-patch applied.
+
+require conf/distro/tdx-xwayland.conf
+
+DISTRO = "tdx-xwayland-rt"
+DISTRO_NAME = "TDX Wayland with XWayland RT"
+DISTROOVERRIDES .= ":preempt-rt" \ No newline at end of file
diff --git a/conf/distro/tdx-xwayland.conf b/conf/distro/tdx-xwayland.conf
index 5c71a95..41f2901 100644
--- a/conf/distro/tdx-xwayland.conf
+++ b/conf/distro/tdx-xwayland.conf
@@ -1,5 +1,5 @@
# Toradex Distro for Wayland with XWayland.
-# Using the downstream kernel flavour
+# Using the downstream kernel flavour.
require conf/distro/include/tdx-base.inc