summaryrefslogtreecommitdiffstats
path: root/kernel/configs
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-13 20:48:34 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 08:22:49 +0200
commitf8f0d06438e5c810d1e13b5f8c2fed501fe36e9c (patch)
treef7e8ec793681c6ba8403959279e891f81502d4e0 /kernel/configs
parentkconfig: move default KBUILD_DEFCONFIG back to scripts/kconfig/Makefile (diff)
downloadlinux-f8f0d06438e5c810d1e13b5f8c2fed501fe36e9c.tar.xz
linux-f8f0d06438e5c810d1e13b5f8c2fed501fe36e9c.zip
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>
Diffstat (limited to 'kernel/configs')
-rw-r--r--kernel/configs/tiny-base.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/configs/tiny-base.config b/kernel/configs/tiny-base.config
new file mode 100644
index 000000000000..2f0e6bf6db2c
--- /dev/null
+++ b/kernel/configs/tiny-base.config
@@ -0,0 +1 @@
+CONFIG_EMBEDDED=y