summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/toplevel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index 77b04ae..1171c59 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