Files
Bernd Kuhls f11ac644ea package/swtpm: needs gmp
Buildroot commit 2b449935c2 bumped swtpm
from version 0.8.2 to 0.10.1.

Upstream added gmp as dependency in version 0.9.0:
https://github.com/stefanberger/swtpm/commit/605e0ce8800201fca2a9a37dea5e99be7bdb2233

This causes build errors which are fixed by adding host-gmp as
dependency.

Fixes:
https://autobuild.buildroot.net/results/d14/d14b2953e04b488b2f357386870d557d50190d34/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2025-12-14 18:05:03 +01:00

30 lines
655 B
Makefile

################################################################################
#
# swtpm
#
################################################################################
SWTPM_VERSION = 0.10.1
SWTPM_SITE = $(call github,stefanberger,swtpm,v$(SWTPM_VERSION))
SWTPM_LICENSE = BSD-4-Clause
SWTPM_LICENSE_FILES = LICENSE
HOST_SWTPM_DEPENDENCIES = \
host-gmp \
host-json-glib \
host-libopenssl \
host-libtasn1 \
host-libtool \
host-libtpms \
host-pkgconf
# Required because a plain Git clone is used:
HOST_SWTPM_AUTORECONF = YES
HOST_SWTPM_CONF_OPTS = \
--disable-tests \
--with-openssl \
--without-seccomp
$(eval $(host-autotools-package))