2018-02-02 16:56:11 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# tpm2-tss
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-12-15 00:25:59 +01:00
|
|
|
TPM2_TSS_VERSION = 2.3.2
|
2018-02-02 16:56:11 +01:00
|
|
|
TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION)
|
|
|
|
TPM2_TSS_LICENSE = BSD-2-Clause
|
|
|
|
TPM2_TSS_LICENSE_FILES = LICENSE
|
|
|
|
TPM2_TSS_INSTALL_STAGING = YES
|
2018-11-16 03:52:15 +01:00
|
|
|
TPM2_TSS_DEPENDENCIES = liburiparser openssl host-pkgconf
|
2019-12-15 00:25:59 +01:00
|
|
|
TPM2_TSS_CONF_OPTS = --with-crypto=ossl --disable-doxygen-doc --disable-defaultflags
|
2019-12-23 12:13:21 +01:00
|
|
|
# 0001-configure-Only-use-CXX-when-fuzzing.patch
|
|
|
|
TPM2_TSS_AUTORECONF = YES
|
2018-03-22 21:27:48 +01:00
|
|
|
|
2019-12-15 00:25:59 +01:00
|
|
|
# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used
|
|
|
|
TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99"
|
2018-11-19 03:26:24 +01:00
|
|
|
|
2018-02-02 16:56:11 +01:00
|
|
|
$(eval $(autotools-package))
|