From da6e3087d915b380297f34f87130f49e4b128aca Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 22 Jul 2019 11:48:57 +0200 Subject: 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 --- conf/distro/tdx-x11-rt.conf | 8 ++++++++ conf/distro/tdx-x11.conf | 2 +- conf/distro/tdx-xwayland-rt.conf | 8 ++++++++ conf/distro/tdx-xwayland.conf | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 conf/distro/tdx-x11-rt.conf create mode 100644 conf/distro/tdx-xwayland-rt.conf 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 -- cgit v1.2.3