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