b5c8dde84c
Signed-off-by: Erik Larsson <who+buildroot@cnackers.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
980 B
Makefile
30 lines
980 B
Makefile
################################################################################
|
|
#
|
|
# tpm2-tools
|
|
#
|
|
################################################################################
|
|
|
|
TPM2_TOOLS_VERSION = 5.2
|
|
TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION)
|
|
TPM2_TOOLS_LICENSE = BSD-3-Clause
|
|
TPM2_TOOLS_LICENSE_FILES = doc/LICENSE
|
|
TPM2_TOOLS_CPE_ID_VENDOR = tpm2-tools_project
|
|
TPM2_TOOLS_SELINUX_MODULES = tpm2
|
|
TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf
|
|
|
|
# -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
|
|
|
|
# do not build man pages
|
|
TPM2_TOOLS_CONF_ENV += ac_cv_prog_PANDOC=''
|
|
|
|
ifeq ($(BR2_PACKAGE_TPM2_TOOLS_FAPI),y)
|
|
TPM2_TOOLS_CONF_OPTS += --enable-fapi
|
|
else
|
|
TPM2_TOOLS_CONF_OPTS += --disable-fapi
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|