OSDN Git Service

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>
Wed, 14 Apr 2021 06:22:49 +0000 (15:22 +0900)
commitf8f0d06438e5c810d1e13b5f8c2fed501fe36e9c
treef7e8ec793681c6ba8403959279e891f81502d4e0
parentdd4659963a4d2dde9756e31ffe5d7c639bcaa26e
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