From: Felix Fietkau Date: Thu, 8 Jun 2017 09:05:05 +0000 (+0200) Subject: build: ensure that flock is available for make download X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=65eec8bd5f6337956b972d07fde49eb5db9cb4a0;p=librecmc%2Flibrecmc.git 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 --- diff --git a/include/toplevel.mk b/include/toplevel.mk index 77b04aea8a..1171c59093 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -171,7 +171,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