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:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user