[source] build: fix dependency of kernel_menuconfig target

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 12 05:53:39 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/f938de791438fc932c5a5ccfecd8f33050e3e103

commit f938de791438fc932c5a5ccfecd8f33050e3e103
Author: Baptiste Jonglez <git at bitsofnetworks.org>
AuthorDate: Sun Feb 12 14:48:35 2017 +0100

    build: fix dependency of kernel_menuconfig target
    
    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 24e4ebf..a9ea21b 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



More information about the lede-commits mailing list