mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-22 09:51:07 +00:00
The populate-lib program was buggy on some systems and could accidentally introduce unwanted libraries into the initrd. The Makefile now uses the modules' $(module_libraries) variable to select which libraries should be installed into the initrd. Kernel modules are now stripped and installed using a similar system.
21 lines
481 B
Plaintext
21 lines
481 B
Plaintext
modules += mbedtls
|
|
|
|
mbedtls_version := 2.4.2
|
|
mbedtls_dir := mbedtls-$(mbedtls_version)
|
|
mbedtls_tar := mbedtls-$(mbedtls_version)-gpl.tgz
|
|
mbedtls_url := https://tls.mbed.org/download/$(mbedtls_tar)
|
|
mbedtls_hash := d01f2d5586a52055329d194d909103f445bd2d0b6b2b5f1c830fbf828ac6299f
|
|
|
|
mbedtls_libraries := library/libmbedcrypto.so.0
|
|
|
|
mbedtls_configure :=
|
|
|
|
mbedtls_target := \
|
|
SHARED=1 \
|
|
DESTDIR=$(INSTALL) \
|
|
CC="$(heads_cc)" \
|
|
$(MAKE_JOBS) \
|
|
install
|
|
|
|
mbedtls_depends := $(musl_dep)
|