xref: /OK3568_Linux_fs/buildroot/package/tpm2-tools/tpm2-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# tpm2-tools
4#
5################################################################################
6
7TPM2_TOOLS_VERSION = 4.3.2
8TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION)
9TPM2_TOOLS_LICENSE = BSD-3-Clause
10TPM2_TOOLS_LICENSE_FILES = doc/LICENSE
11TPM2_TOOLS_CPE_ID_VENDOR = tpm2-tools_project
12TPM2_TOOLS_SELINUX_MODULES = tpm2
13TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf util-linux
14# We're patching configure.ac
15TPM2_TOOLS_AUTORECONF = YES
16
17# -fstack-protector-all and FORTIFY_SOURCE=2 is used by
18# default. Disable that so the BR2_SSP_* / BR2_FORTIFY_SOURCE_* options
19# in the toolchain wrapper and CFLAGS are used instead
20TPM2_TOOLS_CONF_OPTS = --disable-hardening
21
22# do not build man pages
23TPM2_TOOLS_CONF_ENV += ac_cv_prog_PANDOC=''
24
25$(eval $(autotools-package))
26