diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2014-04-07 15:39:09 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2018-11-29 18:33:30 +0100 |
| commit | dee299ba6328f97ce8f3a83d5d76ea20c61aa99d (patch) | |
| tree | 81a6b2ef29a8160da8611a0d9be31880fd4ba539 /init | |
| parent | 85459ca1dcccaa894bf5ea50ef49d2b0d2f0efdc (diff) | |
| download | android_kernel_m2note-dee299ba6328f97ce8f3a83d5d76ea20c61aa99d.tar.gz | |
kconfig: make allnoconfig disable options behind EMBEDDED and EXPERT
"make allnoconfig" exists to ease testing of minimal configurations.
Documentation/SubmitChecklist includes a note to test with allnoconfig.
This helps catch missing dependencies on common-but-not-required
functionality, which might otherwise go unnoticed.
However, allnoconfig still leaves many symbols enabled, because they're
hidden behind CONFIG_EMBEDDED or CONFIG_EXPERT. For instance, allnoconfig
still has CONFIG_PRINTK and CONFIG_BLOCK enabled, so drivers don't
typically get build-tested with those disabled.
To address this, introduce a new Kconfig option "allnoconfig_y", used on
symbols which only exist to hide other symbols. Set it on CONFIG_EMBEDDED
(which then selects CONFIG_EXPERT). allnoconfig will then disable all the
symbols hidden behind those.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index a480d7c72..e212cc8ff 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1462,6 +1462,7 @@ config PCI_QUIRKS config EMBEDDED bool "Embedded system" + option allnoconfig_y select EXPERT help This option should be enabled if compiling the kernel for |
