From: Masahiro Yamada Date: Sat, 13 Mar 2021 19:48:33 +0000 (+0900) Subject: kconfig: move default KBUILD_DEFCONFIG back to scripts/kconfig/Makefile X-Git-Tag: accepted/tizen/unified/20230118.172025~7333^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd4659963a4d2dde9756e31ffe5d7c639bcaa26e;p=platform%2Fkernel%2Flinux-rpi.git 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 --- diff --git a/Makefile b/Makefile index a28bb37..f1093b9 100644 --- a/Makefile +++ b/Makefile @@ -396,9 +396,6 @@ endif KCONFIG_CONFIG ?= .config export KCONFIG_CONFIG -# Default file for 'make defconfig'. This may be overridden by arch-Makefile. -export KBUILD_DEFCONFIG := defconfig - # SHELL used by kbuild CONFIG_SHELL := sh diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 31c5735..7df3c0e 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