Re: [RFC/PATCH] network configs: disconnect network options from drivers

From: Sam Ravnborg
Date: Thu Mar 31 2005 - 13:55:33 EST


On Wed, Mar 30, 2005 at 11:47:09PM -0800, Randy.Dunlap wrote:
>
> - some Networking options need to be qualified with CONFIG_NET
You can something along the lines os:

menu "Networking options and protocols"

config NET
bool "Networking support"
default y

if NET

...

menu "Network device support"
...
endmenu

...

endif
endmenu

Then everything wrapped in between if NET/endif is dependent on NET
without stating this explicitly.
You will alos have the menu nice indented.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/