lkml.org 
[lkml]   [2008]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Staging: only build the tree if we really want to
On Sat, Nov 08, 2008 at 04:59:37PM +0100, Stefan Richter wrote:
> Greg KH wrote:
> > --- a/drivers/staging/Kconfig
> > +++ b/drivers/staging/Kconfig
> > @@ -21,7 +21,23 @@ menuconfig STAGING
> >
> > If in doubt, say N here.
> >
> > -if STAGING
> > +
> > +config STAGING_EXCLUDE_BUILD
> > + bool "Exclude Staging drivers from being built"
> > + default y
> > + ---help---
> ...
> > +if !STAGING_EXCLUDE_BUILD
> >
> > source "drivers/staging/et131x/Kconfig"
> >
> > @@ -45,4 +61,4 @@ source "drivers/staging/at76_usb/Kconfig"
> >
> > source "drivers/staging/poch/Kconfig"
> >
> > -endif # STAGING
> > +endif # !STAGING_EXCLUDE_BUILD
>
> Which purpose is the STAGING kconfig variable serving after this?

Sitting there and looking pretty :)

> It controls the visibility of the menu, but switching it off won't
> switch off the staging drivers if they were previously enabled, would
> it?

Try it and look in wonder :)

If something affects the visibility of the menu for those config
options, it controls if those options can be enabled or not.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-11-08 19:47    [W:0.068 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site