netdev
[Top] [All Lists]

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

To: "Randy.Dunlap" <randy.dunlap@xxxxxxxxxxx>
Subject: Re: [RFC/PATCH] network configs: disconnect network options from drivers
From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 20:52:26 +0200
Cc: ioe-lkml@xxxxxxxx, matthew@xxxxxx, lkml <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050330234709.1868eee5.randy.dunlap@xxxxxxxxxxx>
References: <20050330234709.1868eee5.randy.dunlap@xxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.8i
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

<Prev in Thread] Current Thread [Next in Thread>