summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/kconfig/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index f80d531067..6c301a99d7 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -5,6 +5,8 @@
export LC_ALL=C
export LANG=C
+DEFCONFIG?=defconfig
+
PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \
localmodconfig localyesconfig
@@ -85,7 +87,7 @@ allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(objk)/conf
$< --$@ $(Kconfig)
savedefconfig: $(objk)/conf
- $< --$@=defconfig $(Kconfig)
+ $< --$@=$(DEFCONFIG) $(Kconfig)
defconfig: $(objk)/conf
ifeq ($(KBUILD_DEFCONFIG),)