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>
This commit is contained in:
Patrick Georgi 2015-06-11 09:55:43 +02:00 committed by Patrick Georgi
parent 4dcfa21e6a
commit db6dd817a2
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@
export LC_ALL=C export LC_ALL=C
export LANG=C export LANG=C
DEFCONFIG?=defconfig
PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \ PHONY += oldconfig xconfig gconfig menuconfig config silentoldconfig update-po-config \
localmodconfig localyesconfig localmodconfig localyesconfig
@ -85,7 +87,7 @@ allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(objk)/conf
$< --$@ $(Kconfig) $< --$@ $(Kconfig)
savedefconfig: $(objk)/conf savedefconfig: $(objk)/conf
$< --$@=defconfig $(Kconfig) $< --$@=$(DEFCONFIG) $(Kconfig)
defconfig: $(objk)/conf defconfig: $(objk)/conf
ifeq ($(KBUILD_DEFCONFIG),) ifeq ($(KBUILD_DEFCONFIG),)