[LEDE-DEV] [PATCH] build: fix dependency of kernel_menuconfig target

Baptiste Jonglez baptiste at bitsofnetworks.org
Sun Feb 12 05:48:35 PST 2017


From: Baptiste Jonglez <git at bitsofnetworks.org>

When running "make kernel_menuconfig" in a clean tree, it fails with:

    make[1]: *** No rule to make target 'tools/quilt/install'.  Stop.

Replacing the dependency with 'tools/quilt/compile' fixes the issue (quilt
and all its prerequisites will be built, and quilt will be installed in
staging_dir).

Signed-off-by: Baptiste Jonglez <git at bitsofnetworks.org>
---
 include/toplevel.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/toplevel.mk b/include/toplevel.mk
index 24e4ebf823..a9ea21bbef 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -132,7 +132,7 @@ prepare_kernel_conf: .config FORCE
 
 ifeq ($(wildcard staging_dir/host/bin/quilt),)
   prepare_kernel_conf:
-	@+$(SUBMAKE) -r tools/quilt/install
+	@+$(SUBMAKE) -r tools/quilt/compile
 else
   prepare_kernel_conf: ;
 endif
-- 
2.11.1




More information about the Lede-dev mailing list