mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-23 23:02:26 +00:00
907e906f01
Adresses @easrentai suggestion to pass modules build optimization for space here: #590 (comment) - Uniformized module's $(CROSS_TOOLS) being passed as environment variable, prior of ./configure call Doesn't work for: - busybox (HOSTCXXFLAGS="-Os" attempted prior of ./configure call) - zlib (CFLAGS="-Os" attempted prior of ./configure call) - npth (CFLAGS="-Os" attempted prior of ./configure call)
27 lines
713 B
Makefile
27 lines
713 B
Makefile
modules-$(CONFIG_GPG2) += libassuan
|
|
|
|
libassuan_version := 2.5.3
|
|
libassuan_dir := libassuan-$(libassuan_version)
|
|
libassuan_tar := libassuan-$(libassuan_version).tar.bz2
|
|
libassuan_url := https://gnupg.org/ftp/gcrypt/libassuan/$(libassuan_tar)
|
|
libassuan_hash := 91bcb0403866b4e7c4bc1cc52ed4c364a9b5414b3994f718c70303f7f765e702
|
|
|
|
libassuan_configure := \
|
|
CFLAGS="-Os" \
|
|
$(CROSS_TOOLS) \
|
|
./configure \
|
|
--host $(MUSL_ARCH)-linux-musl \
|
|
--prefix "/" \
|
|
--disable-static \
|
|
--disable-debug \
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
|
|
|
libassuan_target := $(MAKE_JOBS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
$(CROSS_TOOLS) \
|
|
install \
|
|
|
|
libassuan_libraries := src/.libs/libassuan.so.0
|
|
|
|
libassuan_depends := libgpg-error $(musl_dep)
|