4ef0ef352c
[Thomas: - move from Libraries/Crypto to System tools in menuconfig - add patch to fix build with uClibc - use 'select' for openssl rather than a 'depends on' - propagate trousers dependencies - add <pkg>_LICENSE and <pkg>_LICENSEFILES - link against libiconv when needed, fixing !locale builds - explicitly disable pkcs11 support, since it is not handled by tpm-tools.mk currently.] Signed-off-by: Al West <al.west@v-nova.com> Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
639 B
Makefile
22 lines
639 B
Makefile
#############################################################
|
|
#
|
|
# tpm-tools
|
|
#
|
|
##############################################################
|
|
|
|
TPM_TOOLS_VERSION = 1.3.8
|
|
TPM_TOOLS_SOURCE = tpm-tools-$(TPM_TOOLS_VERSION).tar.gz
|
|
TPM_TOOLS_SITE = http://downloads.sourceforge.net/project/trousers/tpm-tools/$(TPM_TOOLS_VERSION)
|
|
TPM_TOOLS_STRIP_COMPONENTS = 2
|
|
TPM_TOOLS_LICENSE = Common Public License Version 1.0
|
|
TPM_TOOLS_LICENSE_FILES = LICENSE
|
|
TPM_TOOLS_DEPENDENCIES = trousers openssl
|
|
|
|
TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
TPM_TOOLS_CONF_ENV += LIBS='-liconv'
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|