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@bitsofnetworks.org>
This commit is contained in:
Baptiste Jonglez 2017-02-12 14:48:35 +01:00 committed by Felix Fietkau
parent 764cd09dd8
commit f938de7914

View file

@ -132,7 +132,7 @@ prepare_kernel_conf: .config FORCE
ifeq ($(wildcard staging_dir/host/bin/quilt),) ifeq ($(wildcard staging_dir/host/bin/quilt),)
prepare_kernel_conf: prepare_kernel_conf:
@+$(SUBMAKE) -r tools/quilt/install @+$(SUBMAKE) -r tools/quilt/compile
else else
prepare_kernel_conf: ; prepare_kernel_conf: ;
endif endif