Skip to contentSkip to conversation

NETWORKING: Make "networking" one-click deselectable.

PATCH In review Robert P. J. Day 2 participants 2 messages Jul 28, 2008 – Jul 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NETWORKING: Make "networking" one-click deselectable.

Use a menuconfig directive to make all of networking support one-click deselectable from the top-level menu.

---

not sure if i already sent this in, but it effectively duplicates
what you can already do from the submenu anyway, so might as well move it up one level.

net/Kconfig +1 -6
index b986687..7612cc8 100644
@@ -2,9 +2,7 @@
 # Network configuration
 #
 
-menu "Networking"
-
-config NET
+menuconfig NET
 	bool "Networking support"
 	---help---
 	  Unless you really know what you are doing, you should say Y here.
@@ -22,7 +20,6 @@ config NET
 	  recommended to read the NET-HOWTO, available from
 	  <http://www.tldp.org/docs.html#howto>.
 
-# Make sure that all config symbols are dependent on NET
 if NET
 
 menu "Networking options"
@@ -252,5 +249,3 @@ source "net/rfkill/Kconfig"
 source "net/9p/Kconfig"
 
 endif   # if NET
-endmenu # Networking
-

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.

http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================