Skip to content

Commit

Permalink
Staging: only build the tree if we really want to
Browse files Browse the repository at this point in the history
This Kconfig change allows the common 'make allmodconfig' and
'make allyesconfig' build options to skip the staging tree, which is
probably what you want to have happen anyway.

This makes the linux-next developer's life a lot easier so he doesn't
have to worry about changes that break the staging tree, that's for me
to worry about...

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman authored and Greg Kroah-Hartman committed Nov 8, 2008
1 parent fed4d59 commit 0c4b954
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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---
Are you sure you really want to build the staging drivers?
They taint your kernel, don't live up to the normal Linux
kernel quality standards, are a bit crufty around the edges,
and might go off and kick your dog when you aren't paying
attention.

Say N here to be able to select and build the Staging drivers.
This option is primarily here to prevent them from being built
when selecting 'make allyesconfg' and 'make allmodconfig' so
don't be all that put off, your dog will be just fine.

if !STAGING_EXCLUDE_BUILD

source "drivers/staging/et131x/Kconfig"

Expand All @@ -45,4 +61,4 @@ source "drivers/staging/at76_usb/Kconfig"

source "drivers/staging/poch/Kconfig"

endif # STAGING
endif # !STAGING_EXCLUDE_BUILD

0 comments on commit 0c4b954

Please sign in to comment.