2018-03-15 20:56:01 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# tpm2-tools
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-05-26 05:48:53 +08:00
|
|
|
TPM2_TOOLS_VERSION = 4.1.2
|
2018-03-15 20:56:01 +08:00
|
|
|
TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION)
|
2019-04-09 03:22:57 +08:00
|
|
|
TPM2_TOOLS_LICENSE = BSD-3-Clause
|
2018-03-15 20:56:01 +08:00
|
|
|
TPM2_TOOLS_LICENSE_FILES = LICENSE
|
2019-04-05 03:00:28 +08:00
|
|
|
TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf
|
2018-03-15 20:56:01 +08:00
|
|
|
|
2019-01-15 18:15:18 +08:00
|
|
|
# -fstack-protector-all and FORTIFY_SOURCE=2 is used by
|
|
|
|
# default. Disable that so the BR2_SSP_* / BR2_FORTIFY_SOURCE_* options
|
|
|
|
# in the toolchain wrapper and CFLAGS are used instead
|
|
|
|
TPM2_TOOLS_CONF_OPTS = --disable-hardening
|
2018-03-23 04:27:52 +08:00
|
|
|
|
2019-12-15 07:26:02 +08:00
|
|
|
# do not build man pages
|
|
|
|
TPM2_TOOLS_CONF_ENV += ac_cv_prog_PANDOC=''
|
|
|
|
|
2018-03-15 20:56:01 +08:00
|
|
|
$(eval $(autotools-package))
|