From db6dd817a2875bea010368c588182ae4e5741f63 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 11 Jun 2015 09:55:43 +0200 Subject: [PATCH] kconfig: allow specifying the target for savedefconfig Change-Id: Iee5ab0d3bdc8b754669356f2046d290d9ca555c2 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10511 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- util/kconfig/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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),)