aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/native/openssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/depends/native/openssl/Makefile')
-rw-r--r--tools/depends/native/openssl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/depends/native/openssl/Makefile b/tools/depends/native/openssl/Makefile
index a3fbb6d466..880fc7caa0 100644
--- a/tools/depends/native/openssl/Makefile
+++ b/tools/depends/native/openssl/Makefile
@@ -1,12 +1,14 @@
include ../../Makefile.include
PLATFORM=$(NATIVEPLATFORM)
-DEPS= ../../Makefile.include Makefile
+DEPS = ../../Makefile.include Makefile ../../download-files.include
# lib name, version
LIBNAME=openssl
VERSION=1.1.1k
SOURCE=$(LIBNAME)-$(VERSION)
ARCHIVE=$(SOURCE).tar.gz
+SHA512=73cd042d4056585e5a9dd7ab68e7c7310a3a4c783eafa07ab0b560e7462b924e4376436a6d38a155c687f6942a881cfc0c1b9394afcde1d8c46bf396e7d51121
+include ../../download-files.include
# configuration settings
CONFIGURE=MACHINE=$(PLATFORM) ./config no-shared zlib no-asm --prefix=$(NATIVEPREFIX) --with-zlib-include=$(NATIVEPREFIX)/include --with-zlib-lib=$(NATIVEPREFIX)/lib
@@ -30,10 +32,8 @@ LIBDYLIB=$(PLATFORM)/libssl.a
all: .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); $(CONFIGURE)