add recipe for wolfTPM

pull/4/head
Chris Conlon 2018-12-04 09:45:29 -07:00
parent 78389fa507
commit 98513a08b3
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Index: wolfssh-1.3.0/m4/have_wolfssl.m4
===================================================================
--- wolfssh-1.3.0.orig/m4/have_wolfssl.m4
+++ wolfssh-1.3.0/m4/have_wolfssl.m4
@@ -7,7 +7,7 @@
AC_DEFUN([_TAO_SEARCH_LIBWOLFSSL],[
AC_REQUIRE([AC_LIB_PREFIX])
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ LDFLAGS="$LDFLAGS"
LIBS="$LIBS -lwolfssl"
AC_LIB_HAVE_LINKFLAGS(wolfssl,,

View File

@ -0,0 +1,2 @@
EXTRA_OECONF += "--enable-certgen --enable-certreq --enable-certext --enable-pkcs7 --enable-cryptodev"

View File

@ -0,0 +1,21 @@
SUMMARY = "wolfTPM Portable TPM 2.0 Library"
DESCRIPTION = "wolfTPM is a portable TPM 2.0 project, designed for embedded \
use. It is highly portable, due to having been written in \
native C, having a single IO callback for hardware interface, \
no external dependencies, and its compact code with low \
resource use."
HOMEPAGE = "https://www.wolfssl.com/products/wolftpm"
BUGTRACKER = "https://github.com/wolfssl/wolftpm/issues"
SECTION = "libs"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "wolfssl"
SRC_URI[md5sum] = "122186e722d960954c93f8ed6a63dd1e"
SRC_URI[sha256sum] = "5bb3261af28c48c40127393954100938c085ee4a30adc34acb4418364127c8dd"
SRC_URI = "https://www.wolfssl.com/wolftpm-1.3.0.zip \
file://0001-fix-have-wolfssl-m4-rule.patch"
inherit autotools