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:
parent
4dcfa21e6a
commit
db6dd817a2
|
@ -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),)
|
||||||
|
|
Loading…
Reference in New Issue