summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-13 20:48:33 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-14 08:22:49 +0200
commitdd4659963a4d2dde9756e31ffe5d7c639bcaa26e (patch)
treee8a74da1f749cf8019f169ae389481369e073a59 /scripts
parentkconfig: change defconfig_list option to environment variable (diff)
downloadlinux-dd4659963a4d2dde9756e31ffe5d7c639bcaa26e.tar.xz
linux-dd4659963a4d2dde9756e31ffe5d7c639bcaa26e.zip
kconfig: move default KBUILD_DEFCONFIG back to scripts/kconfig/Makefile
This is a partial revert of commit 2a86f6612164 ("kbuild: use KBUILD_DEFCONFIG as the fallback for DEFCONFIG_LIST"). Now that the reference to $(DEFCONFIG_LIST) was removed from init/Kconfig, the default KBUILD_DEFCONFIG can go back home. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 31c5735663c8..7df3c0e4c52e 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -9,6 +9,10 @@ else
Kconfig := Kconfig
endif
+ifndef KBUILD_DEFCONFIG
+KBUILD_DEFCONFIG := defconfig
+endif
+
ifeq ($(quiet),silent_)
silent := -s
endif