From 737b063cc2e562485e624cda0fb42fb47f1b90c7 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 8 Jun 2017 11:05:05 +0200 Subject: [PATCH] build: ensure that flock is available for make download It ensures that make download can parallelize downloads, even when some packages download the same files (e.g. gcc/initial, gcc/final) Signed-off-by: Felix Fietkau --- include/toplevel.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/toplevel.mk b/include/toplevel.mk index 09aec791ba..5fbf5e2ea4 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -176,7 +176,7 @@ else DOWNLOAD_DIRS = package/download endif -download: .config FORCE +download: .config FORCE $(if $(wildcard $(TOPDIR)/staging_dir/host/bin/flock),,tools/flock/compile) @+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);) clean dirclean: .config -- 2.25.1