From 72d9635de71269b848f13670db0317e31bed7a94 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 4 Apr 2013 00:24:56 +0200 Subject: [PATCH] build: fix defconfig usage The make target vs. filename got confusing and the invocation of the conf program was wrong as well; fix both issues. Signed-off-by: Johannes Berg --- backport/Makefile.real | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backport/Makefile.real b/backport/Makefile.real index 0a20a66d8ab6..3536fe2e4737 100644 --- a/backport/Makefile.real +++ b/backport/Makefile.real @@ -22,13 +22,13 @@ alldefconfig randconfig: @$(MAKE) -C kconfig conf @./kconfig/conf --$@ Kconfig -.PHONY: defconfig -defconfig: +.PHONY: usedefconfig +usedefconfig: @$(MAKE) -C kconfig conf - @./kconfig/conf --defconfig defconfig + @./kconfig/conf --defconfig=defconfig Kconfig .config: - @test -f defconfig && (yes '' | $(MAKE) alldefconfig) || ( \ + @test -f defconfig && (yes '' | $(MAKE) usedefconfig) || ( \ echo "/--------------" ;\ echo "| Your backport package isn't configured, please configure it" ;\ echo "| using one of the following options:" ;\ -- 2.30.2