diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-08 00:12:17 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@kvm.kroah.org> | 2008-11-08 01:05:18 -0500 |
commit | 0c4b95455f250c7006af00208aefdf0f93f63144 (patch) | |
tree | 7c3b616701fac71fcee0a9a40c0ec011c49144e7 | |
parent | fed4d59b6ec5481caceb17863f19a0b0e5eaa939 (diff) |
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>
-rw-r--r-- | drivers/staging/Kconfig | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig index e1654f59eb70..0a49cd788a75 100644 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig | |||
@@ -21,7 +21,23 @@ menuconfig STAGING | |||
21 | 21 | ||
22 | If in doubt, say N here. | 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 | source "drivers/staging/et131x/Kconfig" | 42 | source "drivers/staging/et131x/Kconfig" |
27 | 43 | ||
@@ -45,4 +61,4 @@ source "drivers/staging/at76_usb/Kconfig" | |||
45 | 61 | ||
46 | source "drivers/staging/poch/Kconfig" | 62 | source "drivers/staging/poch/Kconfig" |
47 | 63 | ||
48 | endif # STAGING | 64 | endif # !STAGING_EXCLUDE_BUILD |