]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: only build the tree if we really want to
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 8 Nov 2008 05:12:17 +0000 (21:12 -0800)
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>
Sat, 8 Nov 2008 06:05:18 +0000 (22:05 -0800)
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>
drivers/staging/Kconfig

index e1654f59eb709f997300d2dee136002856009f2d..0a49cd788a75e7b3385d28d2bbc170a0ff127d81 100644 (file)
@@ -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"
 
@@ -45,4 +61,4 @@ source "drivers/staging/at76_usb/Kconfig"
 
 source "drivers/staging/poch/Kconfig"
 
-endif # STAGING
+endif # !STAGING_EXCLUDE_BUILD