update wolfTPM from 2.0.0 to 2.3.1

pull/24/head
Chris Conlon 2021-12-06 12:46:03 -08:00
parent 9088be4a10
commit ae2801da58
2 changed files with 10 additions and 18 deletions

View File

@ -1,13 +0,0 @@
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

@ -12,9 +12,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "wolfssl" DEPENDS += "wolfssl"
SRC_URI[md5sum] = "f0d3b91139917b404e75a93d6a24d8fb" SRC_URI = "git://github.com/wolfssl/wolfTPM.git;tag=v${PV}"
SRC_URI[sha256sum] = "e99914a4cbfef7f0e311f48d107685ac5e1574f41709f578aa3502604b290468"
SRC_URI = "https://www.wolfssl.com/wolftpm-${PV}.zip \
file://0001-fix-have-wolfssl-m4-rule.patch"
inherit autotools S = "${WORKDIR}/git"
inherit autotools pkgconfig
EXTRA_OECONF = "--with-wolfcrypt=${COMPONENTS_DIR}/${PACKAGE_ARCH}/wolfssl/usr"
do_configure_prepend() {
(cd ${S}; ./autogen.sh; cd -)
}