Files

29 lines
776 B
BlitzBasic

# Copyright (C) 2023 Vincent BENOIT <vincent.benoit@scle.fr>
# Release under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Infineon Embedded Linux TPM Toolbox 2 (ELTT2) for TPM 2.0"
MAINTAINER = "Vincent BENOIT <vincent.benoit@benserv.fr>"
LICENSE = "CLOSED"
SRC_URI = "git://github.com/Infineon/eltt2.git;protocol=https;branch=master"
SRC_URI[sha256sum] = "81a71c03c09116f81c90ca4721ab7e6f9ca0beaec381edf7880a85ef04820632"
SRCREV = "3d55476179da9bd61c2df1ba1ef010afe27e7776"
PV = "1.0"
S = "${WORKDIR}/git"
FILES:${PN} += "${bindir}/eltt2"
EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS}'"
TARGET_CC_ARCH += "${LDFLAGS}"
do_compile() {
oe_runmake
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/eltt2 ${D}${bindir}/
}