mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +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)
29 lines
768 B
Makefile
29 lines
768 B
Makefile
modules-$(CONFIG_GPG2) += libgpg-error
|
|
|
|
libgpg-error_version := 1.37
|
|
libgpg-error_dir := libgpg-error-$(libgpg-error_version)
|
|
libgpg-error_tar := libgpg-error-$(libgpg-error_version).tar.bz2
|
|
libgpg-error_url := https://gnupg.org/ftp/gcrypt/libgpg-error/$(libgpg-error_tar)
|
|
libgpg-error_hash := b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
|
|
|
|
libgpg-error_configure := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-Os" \
|
|
./configure \
|
|
--prefix "/" \
|
|
--host=$(MUSL_ARCH)-linux-musl \
|
|
--disable-static \
|
|
--disable-nls \
|
|
--disable-languages \
|
|
--disable-doc \
|
|
--disable-tests \
|
|
|
|
libgpg-error_target := $(MAKE_JOBS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
$(CROSS_TOOLS) \
|
|
install \
|
|
|
|
libgpg-error_libraries := src/.libs/libgpg-error.so.0
|
|
|
|
libgpg-error_depends := $(musl_dep)
|