mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 01:38:56 +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)
26 lines
660 B
Makefile
26 lines
660 B
Makefile
modules-$(CONFIG_GPG2) += libksba
|
|
|
|
libksba_version := 1.4.0
|
|
libksba_dir := libksba-$(libksba_version)
|
|
libksba_tar := libksba-$(libksba_version).tar.bz2
|
|
libksba_url := https://gnupg.org/ftp/gcrypt/libksba/$(libksba_tar)
|
|
libksba_hash := bfe6a8e91ff0f54d8a329514db406667000cb207238eded49b599761bfca41b6
|
|
|
|
libksba_configure := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-Os" \
|
|
./configure \
|
|
--host $(MUSL_ARCH)-linux-musl \
|
|
--prefix "/" \
|
|
--disable-static \
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
|
|
|
libksba_target := $(MAKE_JOBS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
$(CROSS_TOOLS) \
|
|
install \
|
|
|
|
libksba_libraries := src/.libs/libksba.so.8
|
|
|
|
libksba_depends := libgpg-error $(musl_dep)
|