Staging: only build the tree if we really want to

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>

authored by Greg Kroah-Hartman and committed by Greg Kroah-Hartman 0c4b9545 fed4d59b

+18 -2
+18 -2
drivers/staging/Kconfig
··· 21 21 22 22 If in doubt, say N here. 23 23 24 - if STAGING 24 + 25 + config STAGING_EXCLUDE_BUILD 26 + bool "Exclude Staging drivers from being built" 27 + default y 28 + ---help--- 29 + Are you sure you really want to build the staging drivers? 30 + They taint your kernel, don't live up to the normal Linux 31 + kernel quality standards, are a bit crufty around the edges, 32 + and might go off and kick your dog when you aren't paying 33 + attention. 34 + 35 + Say N here to be able to select and build the Staging drivers. 36 + This option is primarily here to prevent them from being built 37 + when selecting 'make allyesconfg' and 'make allmodconfig' so 38 + don't be all that put off, your dog will be just fine. 39 + 40 + if !STAGING_EXCLUDE_BUILD 25 41 26 42 source "drivers/staging/et131x/Kconfig" 27 43 ··· 61 45 62 46 source "drivers/staging/poch/Kconfig" 63 47 64 - endif # STAGING 48 + endif # !STAGING_EXCLUDE_BUILD