kumquat-buildroot/package/ibm-sw-tpm2/ibm-sw-tpm2.mk
Philippe Reynes 43162eaaa1 package/ibm-sw-tpm2: new package
This project is an implementation of the TCG TPM 2.0 specification. It
is based on the TPM specification Parts 3 and 4 source code donated by
Microsoft, with additional files to complete the implementation.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-19 21:37:12 +02:00

24 lines
716 B
Makefile

################################################################################
#
# ibm-sw-tpm2
#
################################################################################
IBM_SW_TPM2_VERSION = 1563
IBM_SW_TPM2_SOURCE = ibmtpm$(IBM_SW_TPM2_VERSION).tar.gz
IBM_SW_TPM2_SITE = https://sourceforge.net/projects/ibmswtpm2/files
IBM_SW_TPM2_LICENSE = BSD-3-Clause
IBM_SW_TPM2_LICENSE_FILES = LICENSE
IBM_SW_TPM2_DEPENDENCIES = openssl
define IBM_SW_TPM2_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS)
endef
define IBM_SW_TPM2_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) install \
DESTDIR=$(TARGET_DIR)
endef
$(eval $(generic-package))