diff options
Diffstat (limited to 'tools/depends/target/libusb/Makefile')
-rw-r--r-- | tools/depends/target/libusb/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/libusb/Makefile b/tools/depends/target/libusb/Makefile index 5f8cf73627..f4368fd1eb 100644 --- a/tools/depends/target/libusb/Makefile +++ b/tools/depends/target/libusb/Makefile @@ -1,11 +1,13 @@ include ../../Makefile.include -DEPS= ../../Makefile.include Makefile no-Werror.patch +DEPS = ../../Makefile.include Makefile no-Werror.patch ../../download-files.include # lib name, version LIBNAME=libusb VERSION=0.1.12 SOURCE=$(LIBNAME)-$(VERSION) ARCHIVE=$(SOURCE).tar.gz +SHA512=08c10e899f93b5f8567d1a1e1ed87dd5631ad0a1463975404709c1d165e545e340afb474a66788efcfdd8193542e2a2eb9cf133f55cbbf76441244191d0bb825 +include ../../download-files.include # configuration settings CONFIGURE=cp -f $(CONFIG_SUB) $(CONFIG_GUESS) .; \ @@ -15,10 +17,8 @@ LIBDYLIB=$(PLATFORM)/.libs/$(LIBNAME).a all: $(LIBDYLIB) .installed-$(PLATFORM) -$(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); patch -p1 -i ../no-Werror.patch |