mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 10:46:44 +00:00
modules/openssl: Update to 3.0.8, reduce size
Update OpenSSL to 3.0.8. Build with -Os. Install only libcrypto, libssl is not currently needed. Don't buid tests. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
92a6b5410d
commit
5588a47d56
@ -1,20 +1,22 @@
|
||||
# OpenSSL library
|
||||
modules-$(CONFIG_OPENSSL) += openssl
|
||||
|
||||
openssl_version := 1_1_1h
|
||||
openssl_version := 3.0.8
|
||||
openssl_dir := openssl-$(openssl_version)
|
||||
openssl_tar := openssl-$(openssl_version).tar.gz
|
||||
openssl_url := https://github.com/openssl/openssl/archive/OpenSSL_$(openssl_version).tar.gz
|
||||
openssl_hash := d1f723c1f6b6d1eaf26655caa50d2f60d4d33f4b04977b1da63def878f386fcc
|
||||
openssl_url := https://www.openssl.org/source/$(openssl_tar)
|
||||
openssl_hash := 6c13d2bf38fdf31eac3ce2a347073673f5d63263398f1f69d0df4a41253e4b3e
|
||||
|
||||
# hack to provide path to libgcc
|
||||
LIBGCC_DIR := $(dir $(shell $(heads_cc) -print-libgcc-file-name))
|
||||
|
||||
openssl_configure := \
|
||||
$(CROSS_TOOLS) \
|
||||
CFLAGS="-Os" \
|
||||
LDFLAGS="-L$(LIBGCC_DIR)" \
|
||||
./Configure \
|
||||
--prefix="/" \
|
||||
no-tests \
|
||||
linux-$(strip $(arch)) \
|
||||
|
||||
openssl_target := $(MAKE_JOBS) \
|
||||
@ -26,11 +28,8 @@ openssl_target := $(MAKE_JOBS) \
|
||||
LIBDIR="lib" \
|
||||
install_sw \
|
||||
|
||||
# Only libcrypto is needed currently, libssl is not included in initrd
|
||||
openssl_libraries := \
|
||||
libcrypto.so.1.1 \
|
||||
libssl.so.1.1 \
|
||||
|
||||
openssl_output := \
|
||||
apps/openssl \
|
||||
libcrypto.so.3 \
|
||||
|
||||
openssl_depends := $(musl_dep)
|
||||
|
Loading…
Reference in New Issue
Block a user