mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-23 04:48:37 +00:00
a4ba76fd90
Just some minor clean ups like fixing whitespace and sorting things. I added (bash)/removed (libusb) white space in order to look like the other modules. I sorted the --enable/--disable/--with blocks so that common stuff looked similar which should aid in comparing modules. I also removed a couple of duplicate config options (--disable-fallback-curses & --disable-regex). Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev> Signed-off-by: Thierry Laurion <insurgo@riseup.net>
27 lines
714 B
Makefile
27 lines
714 B
Makefile
modules-$(CONFIG_GPG2) += libgcrypt
|
|
|
|
libgcrypt_version := 1.10.1
|
|
libgcrypt_dir := libgcrypt-$(libgcrypt_version)
|
|
libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2
|
|
libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar)
|
|
libgcrypt_hash := ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de
|
|
|
|
libgcrypt_configure := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-Os" \
|
|
./configure \
|
|
--host=$(MUSL_ARCH)-linux-musl \
|
|
--prefix "/" \
|
|
--disable-doc \
|
|
--disable-static \
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
|
|
|
libgcrypt_target := $(MAKE_JOBS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
$(CROSS_TOOLS) \
|
|
install \
|
|
|
|
libgcrypt_libraries := src/.libs/libgcrypt.so.20
|
|
|
|
libgcrypt_depends := libgpg-error $(musl_dep)
|