Module: xenomai-jki
Branch: queues/proc
Commit: 4bc6fee49cc9bb7aa81d306392700dac6e82910b
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=4bc6fee49cc9bb7aa81d306392700dac6e82910b

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Fri Apr 16 16:06:41 2010 +0200

testing: Clean up Kconfig rules

To exclude modules from built-in, make them depend on 'm' is sufficient.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 ksrc/drivers/testing/Config.in |    2 +-
 ksrc/drivers/testing/Kconfig   |   14 +++++---------
 2 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/ksrc/drivers/testing/Config.in b/ksrc/drivers/testing/Config.in
index 3552670..215c38d 100644
--- a/ksrc/drivers/testing/Config.in
+++ b/ksrc/drivers/testing/Config.in
@@ -15,6 +15,6 @@ dep_tristate 'Context switches test driver' 
CONFIG_XENO_DRIVERS_SWITCHTEST $CONF
 
 dep_tristate 'Kernel-only latency measurement module' 
CONFIG_XENO_DRIVERS_KLATENCY $CONFIG_XENO_DRIVERS_TIMERBENCH m
 
-dep_tristate 'User-space real-time signals testing module' 
CONFIG_XENO_DRIVERS_SIGTEST $CONFIG_MODULES m
+dep_tristate 'User-space real-time signals testing module' 
CONFIG_XENO_DRIVERS_SIGTEST m
 
 endmenu
diff --git a/ksrc/drivers/testing/Kconfig b/ksrc/drivers/testing/Kconfig
index 05d6a49..883ede1 100644
--- a/ksrc/drivers/testing/Kconfig
+++ b/ksrc/drivers/testing/Kconfig
@@ -1,9 +1,5 @@
 menu "Testing drivers"
 
-config XENO_TESTING_MODULE
-        depends on MODULES
-       def_tristate m
-
 config XENO_DRIVERS_TESTING_LEGACY_NAMES
        depends on XENO_SKIN_RTDM
        bool "Use legacy names for testing drivers"
@@ -22,7 +18,7 @@ config XENO_DRIVERS_TIMERBENCH
        See testsuite/latency for a possible front-end.
 
 config XENO_DRIVERS_KLATENCY
-       depends on XENO_DRIVERS_TIMERBENCH && XENO_TESTING_MODULE
+       depends on XENO_DRIVERS_TIMERBENCH && m
        tristate "Kernel-only latency measurement module"
        help
        Kernel module for kernel-only latency measurement.
@@ -44,9 +40,9 @@ config XENO_DRIVERS_SWITCHTEST
        FPU switches.
 
 config XENO_DRIVERS_SIGTEST
-       depends on XENO_TESTING_MODULE
-       tristate "User-space real-time signals testing module"
-       help
-       Elementary skin for unit testing user-space real-time signals.
+       depends on m
+       tristate "User-space real-time signals testing module"
+       help
+       Elementary skin for unit testing user-space real-time signals.
 
 endmenu


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to