]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kconfig: do not use allnoconfig_y option
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 13 Mar 2021 19:48:34 +0000 (04:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 25 Mar 2021 04:36:43 +0000 (13:36 +0900)
commitc7fc51898d35baf24f35d74f71a9798a6f64d41c
treeab9f2f82ecdc2ee94c99fa65e3130e2f76d7c404
parentaab05250693dfe2e3060dd82f83fe9e9dfc28a52
kconfig: do not use allnoconfig_y option

allnoconfig_y is an ugly hack that sets a symbol to 'y' by allnoconfig.

allnoconfig does not mean a minimal set of CONFIG options because a
bunch of prompts are hidden by 'if EMBEDDED' or 'if EXPERT', but I do
not like to hack Kconfig this way.

Use the pre-existing feature, KCONFIG_ALLCONFIG, to provide a one
liner config fragment. CONFIG_EMBEDDED=y is still forced when
allnoconfig is invoked as a part of tinyconfig.

No change in the .config file produced by 'make tinyconfig'.

The output of 'make allnoconfig' will be changed; we will get
CONFIG_EMBEDDED=n because allnoconfig literally sets all symbols to n.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
init/Kconfig
kernel/configs/tiny-base.config [new file with mode: 0644]
scripts/kconfig/Makefile