kconfig: Fix defconfig targets

The syntax of "conf" has changed, but we never adapted
our Kconfig Makefile since we are not typically using those
targets (except for coreinfo)

Change-Id: Ib95b53d255d7456cc6d6bcc7048fcaa0db1ce142
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10716
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
This commit is contained in:
Stefan Reinauer 2015-06-29 16:45:57 -07:00
parent 40a3e321d4
commit b12a448c97
1 changed files with 3 additions and 3 deletions

View File

@ -91,14 +91,14 @@ savedefconfig: $(objk)/conf
defconfig: $(objk)/conf
ifeq ($(KBUILD_DEFCONFIG),)
$< -d $(Kconfig)
$< --defconfig $(Kconfig)
else
@echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
$< -D $(KBUILD_DEFCONFIG) $(Kconfig)
$< --defconfig=$(KBUILD_DEFCONFIG) $(Kconfig)
endif
%_defconfig: $(objk)/conf
$< -D configs/$@ $(Kconfig)
$< --defconfig=configs/$@ $(Kconfig)
# Help text used by make help
help: