summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-07-30 09:07:50 -0400
committerMartin Roth <martinroth@google.com>2021-08-05 02:48:56 +0000
commit4b8b2a0f0b1b7901099c04b810b1b8f93e6000e9 (patch)
tree6cab87b6d4fd4492b9dbb72e668f29a499f02f31 /util
parent763db46ccd09425ac7b775c8288a59e6ed981ff3 (diff)
util/kconfig: Provide default for DEFCONFIG
Our documentation claims that the DEFCONFIG make variable, used for targets such as savedefconfig, defaults to 'defconfig'. With the update to kconfig 5.13 we lost this default, so bring it back. Fixes: 53ea1d44f0 ("util/kconfig: Uprev to Linux 5.13's kconfig") Resolves: https://ticket.coreboot.org/issues/317 Change-Id: Idb88b69ffa855fa97df8c821601308e717575550 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56718 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/kconfig/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/kconfig/Makefile.inc b/util/kconfig/Makefile.inc
index bedb41d095..c3b764b2b7 100644
--- a/util/kconfig/Makefile.inc
+++ b/util/kconfig/Makefile.inc
@@ -6,6 +6,8 @@ KBUILD_KCONFIG ?= src/Kconfig
export LC_ALL=C
export LANG=C
+DEFCONFIG ?= defconfig
+
# Include original Makefile, with just enough edits to work for us
$(objk)/Makefile.real: $(dir $(lastword $(MAKEFILE_LIST)))Makefile
mkdir -p $(objk)