diff options
Diffstat (limited to 'tools/depends/target/dav1d/Makefile')
-rw-r--r-- | tools/depends/target/dav1d/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/depends/target/dav1d/Makefile b/tools/depends/target/dav1d/Makefile index 6201255cfd..9f7ea05fca 100644 --- a/tools/depends/target/dav1d/Makefile +++ b/tools/depends/target/dav1d/Makefile @@ -1,6 +1,6 @@ -include ../../Makefile.include -include DAV1D-VERSION -DEPS = Makefile DAV1D-VERSION +include DAV1D-VERSION ../../download-files.include +DEPS = Makefile DAV1D-VERSION ../../download-files.include ifeq ($(CROSS_COMPILING), yes) DEPS += ../../Makefile.include @@ -57,10 +57,8 @@ all: .installed-$(PLATFORM) download: $(TARBALLS_LOCATION)/$(ARCHIVE) -$(TARBALLS_LOCATION)/$(ARCHIVE): - cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) -$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) +$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) cd $(PLATFORM); rm -rf build; mkdir -p build |