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 <nbd@nbd.name>
This commit is contained in:
parent
55623a9c83
commit
737b063cc2
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ else
|
||||||
DOWNLOAD_DIRS = package/download
|
DOWNLOAD_DIRS = package/download
|
||||||
endif
|
endif
|
||||||
|
|
||||||
download: .config FORCE
|
download: .config FORCE $(if $(wildcard $(TOPDIR)/staging_dir/host/bin/flock),,tools/flock/compile)
|
||||||
@+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);)
|
@+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);)
|
||||||
|
|
||||||
clean dirclean: .config
|
clean dirclean: .config
|
||||||
|
|
Loading…
Reference in a new issue