Skip to content

Commit 65eec8b

Browse files
nbd168jow-
authored andcommittedJun 8, 2017
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>
1 parent 4053c4f commit 65eec8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎include/toplevel.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ else
171171
DOWNLOAD_DIRS = package/download
172172
endif
173173

174-
download: .config FORCE
174+
download: .config FORCE $(if $(wildcard $(TOPDIR)/staging_dir/host/bin/flock),,tools/flock/compile)
175175
@+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);)
176176

177177
clean dirclean: .config

0 commit comments

Comments
 (0)
Please sign in to comment.