summaryrefslogtreecommitdiff
path: root/util/kconfig/Makefile
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-06-11 09:55:43 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-06-16 18:08:15 +0200
commitdb6dd817a2875bea010368c588182ae4e5741f63 (patch)
tree0da8c0b29561a0c0229db71279b1e4dfede751e0 /util/kconfig/Makefile
parent4dcfa21e6a530cd12234c8898a1f35a8ad9c9d23 (diff)
downloadcoreboot-db6dd817a2875bea010368c588182ae4e5741f63.tar.xz
kconfig: allow specifying the target for savedefconfig
Change-Id: Iee5ab0d3bdc8b754669356f2046d290d9ca555c2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10511 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/kconfig/Makefile')
-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),)