This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_TPM_TOOLS
bool "tpm-tools"
depends on BR2_TOOLCHAIN_HAS_THREADS # trousers
depends on !BR2_STATIC_LIBS # trousers
select BR2_PACKAGE_TROUSERS
select BR2_PACKAGE_OPENSSL
help
Tools to manage and diagnose a TPM
http://trousers.sourceforge.net/
comment "tpm-tools needs a toolchain w/ threads, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS

View File

@@ -0,0 +1,7 @@
# http://sourceforge.net/projects/trousers/files/tpm-tools/1.3.9.1/
sha1 c35cb031c6b5220dd1c8a03995654fdd12aa3031 tpm-tools-1.3.9.1.tar.gz
md5 1532293aa632a0eaa7e60df87c779855 tpm-tools-1.3.9.1.tar.gz
# Locally calculated
sha256 9cb714e2650826e2e932f65bc0ba9d61b927dc5fea47f2c2a2b64f0fdfcbfa68 tpm-tools-1.3.9.1.tar.gz
sha256 7b47225a5b77cb7825efc6a4d7e0ac57864c790542cf92f5080ec2bf310c00e5 LICENSE

View File

@@ -0,0 +1,23 @@
################################################################################
#
# tpm-tools
#
################################################################################
TPM_TOOLS_VERSION = 1.3.9.1
TPM_TOOLS_SITE = http://downloads.sourceforge.net/project/trousers/tpm-tools/$(TPM_TOOLS_VERSION)
TPM_TOOLS_LICENSE = Common Public License Version 1.0
TPM_TOOLS_LICENSE_FILES = LICENSE
TPM_TOOLS_DEPENDENCIES = trousers openssl $(TARGET_NLS_DEPENDENCIES)
TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support
ifeq ($(BR2_PACKAGE_LIBICONV),y)
TPM_TOOLS_CONF_ENV += LIBS='-liconv'
endif
ifeq ($(BR2_arc770d)$(BR2_arc750d),y)
TPM_TOOLS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mno-compact-casesi"
endif
$(eval $(autotools-package))