Module: xenomai-3
Branch: next
Commit: 101404fc251e00009fc0b997bdc6161925190580
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=101404fc251e00009fc0b997bdc6161925190580

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sat Oct 31 20:54:19 2015 +0100

drivers/rtnet: hide configuration options if globally disabled

---

 kernel/drivers/net/Kconfig |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/kernel/drivers/net/Kconfig b/kernel/drivers/net/Kconfig
index caffc1f..ac3bced 100644
--- a/kernel/drivers/net/Kconfig
+++ b/kernel/drivers/net/Kconfig
@@ -5,6 +5,8 @@ config XENO_DRIVERS_NET
     select NET
     tristate "RTnet, TCP/IP socket interface"
 
+if XENO_DRIVERS_NET
+
 config XENO_DRIVERS_RTNET_CHECKED
     bool "Internal Bug Checks"
     default n
@@ -18,4 +20,6 @@ source "drivers/xenomai/net/stack/Kconfig"
 source "drivers/xenomai/net/drivers/Kconfig"
 source "drivers/xenomai/net/addons/Kconfig"
 
+endif
+
 endmenu


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to