aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/gmp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/target/gmp/Makefile')
-rw-r--r--tools/depends/target/gmp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/target/gmp/Makefile b/tools/depends/target/gmp/Makefile
index ffcd1ea494..9c3e85752b 100644
--- a/tools/depends/target/gmp/Makefile
+++ b/tools/depends/target/gmp/Makefile
@@ -1,11 +1,13 @@
include ../../Makefile.include
-DEPS= ../../Makefile.include Makefile
+DEPS = ../../Makefile.include Makefile ../../download-files.include
# lib name, version
LIBNAME=gmp
VERSION=6.2.1
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.xz
+SHA512=c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84
+include ../../download-files.include
# ABI selection
ifeq ($(OS),linux)
@@ -43,10 +45,8 @@ LIBDYLIB=$(PLATFORM)/.libs/lib$(LIBNAME).a
all: .installed-$(PLATFORM)
-$(TARBALLS_LOCATION)/$(ARCHIVE):
- cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(PLATFORM)/config.status: $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
+$(PLATFORM)/config.status: $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS)
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
cd $(PLATFORM); $(CONFIGURE)