Skip to content

Commit

Permalink
build: ensure that flock is available for make download
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nbd168 committed Jun 8, 2017
1 parent 55623a9 commit 737b063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/toplevel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 737b063

Please sign in to comment.