[xenomai-images][PATCH 1/6] Kconfig: Permit to enable debug mode for Xenomai 4

Jan Kiszka <[email protected]>
Newsgroups dev.linux.lists.xenomai
Message-ID <f4ff8f75dd3ae44a85beb8f38391720e8760108f.1781428654.git.jan.kiszka@siemens.com>
From: Jan Kiszka <[email protected]>

No reason to limit this feature to Xenomai 3 configs. The compat mode,
though, will remain 3-only.

Signed-off-by: Jan Kiszka <[email protected]>
---
 Kconfig | 51 ++++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 25 deletions(-)

diff --git a/Kconfig b/Kconfig
index 98cbfeb..dc79700 100644
--- a/Kconfig
+++ b/Kconfig
@@ -201,31 +201,6 @@ config KAS_INCLUDE_KERNEL
 	default "kas/opt/linux-4.19-head.yaml" if KERNEL_4_19_HEAD
 	default "kas/opt/linux-4.19.yaml" if KERNEL_4_19
 
-comment "Features"
-
-config DEBUG
-	bool "Build debug version"
-	help
-	  This enables various debug options in the kernel that can help to
-	  validate the correctness of a particular Xenomai version and kernel
-	  patch.
-
-	  However, these options also significantly degrade the performance and
-	  maximum latencies, so don't use such a configuration for
-	  benchmarking!
-
-config KAS_INCLUDE_DEBUG
-	string
-	default "kas/opt/debug.yaml" if DEBUG
-
-config COMPAT
-	bool "Build 32 bit Xenomai userspace"
-	depends on (XENOMAI_HEAD || XENOMAI_3_3_HEAD || XENOMAI_3_3) && (ARCH_X86 || ARCH_ARM64)
-
-config KAS_INCLUDE_COMPAT
-	string
-	default "kas/opt/compat.yaml" if COMPAT
-
 endif	# if XENOMAI3
 
 if XENOMAI4
@@ -292,3 +267,29 @@ config KAS_INCLUDE_LIBEVL
 	default "kas/opt/libevl-latest-release.yaml" if LIBEVL_RELEASE
 
 endif	# if XENOMAI4
+
+comment "Features"
+
+config DEBUG
+	bool "Build debug version"
+	help
+	  This enables various debug options in the kernel that can help to
+	  validate the correctness of a particular Xenomai version and kernel
+	  patch.
+
+	  However, these options also significantly degrade the performance and
+	  maximum latencies, so don't use such a configuration for
+	  benchmarking!
+
+config KAS_INCLUDE_DEBUG
+	string
+	default "kas/opt/debug.yaml" if DEBUG
+
+config COMPAT
+	bool "Build 32 bit Xenomai userspace"
+	depends on XENOMAI3
+	depends on (XENOMAI_HEAD || XENOMAI_3_3_HEAD || XENOMAI_3_3) && (ARCH_X86 || ARCH_ARM64)
+
+config KAS_INCLUDE_COMPAT
+	string
+	default "kas/opt/compat.yaml" if COMPAT
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.