summaryrefslogtreecommitdiff
path: root/util/kconfig/Makefile
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2015-08-18 14:30:27 -0600
committerMartin Roth <martinroth@google.com>2015-08-25 15:40:12 +0000
commit56354d503d89c1e87b7b426a0ec31077b6af0e6e (patch)
tree40004bfa41ca3597ab2c5c1379c23a74d8cb072d /util/kconfig/Makefile
parentdbb50c48f9f40f2f4d7960096f6b5462bfb3a39c (diff)
downloadcoreboot-56354d503d89c1e87b7b426a0ec31077b6af0e6e.tar.xz
util/kconfig: add olddefconfig target
There doesn't seem to have been an olddefconfig target in the coreboot version of the Kconfig makefile. It's listed in the .PHONY, but it doesn't seem like it's ever been there. This is useful for expanding a miniconfig saved with 'make savedefconfig'. Change-Id: I3798f8469135b58d32da68d4b0e434ab5351b501 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: http://review.coreboot.org/11273 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/kconfig/Makefile')
-rw-r--r--util/kconfig/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index ab741139f7..243f763237 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -97,6 +97,9 @@ else
$< --defconfig=$(KBUILD_DEFCONFIG) $(Kconfig)
endif
+olddefconfig: $(objk)/conf
+ $< --olddefconfig $(Kconfig)
+
%_defconfig: $(objk)/conf
$< --defconfig=configs/$@ $(Kconfig)