1*edff4923SAndrew GeisslerSUMMARY = "IBM's Software TPM 2.0" 2*edff4923SAndrew GeisslerDESCRIPTION = "The software TPM 2.0 is targeted toward application development, \ 3*edff4923SAndrew Geisslereducation, and virtualization. \ 4*edff4923SAndrew Geissler\ 5*edff4923SAndrew GeisslerThe intent is that an application can be developed using the software TPM. \ 6*edff4923SAndrew GeisslerThe application should then run using a hardware TPM without changes. \ 7*edff4923SAndrew GeisslerAdvantages of this approach: \ 8*edff4923SAndrew Geissler* In contrast to a hardware TPM, it runs on many platforms and it's generally faster. \ 9*edff4923SAndrew Geissler* Application software errors are easily reversed by simply removing the TPM state and starting over. \ 10*edff4923SAndrew Geissler* Difficult crypto errors are quickly debugged by looking inside the TPM." 11*edff4923SAndrew GeisslerHOMEPAGE = "http://ibmswtpm.sourceforge.net/ibmswtpm2.html" 12*edff4923SAndrew GeisslerLICENSE = "BSD-2-Clause" 13*edff4923SAndrew GeisslerSECTION = "securty/tpm" 14*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://../LICENSE;md5=1e023f61454ac828b4aa1bc4293f7d5f" 15*edff4923SAndrew GeisslerLIC_FILES_CHKSUM += "file://LICENSE;md5=c75e465155c42c14154bf6a2acb7347b" 16*edff4923SAndrew Geissler 17*edff4923SAndrew GeisslerDEPENDS = "openssl" 18*edff4923SAndrew Geissler 19*edff4923SAndrew GeisslerSRC_URI = "git://git.code.sf.net/p/ibmswtpm2/tpm2;protocol=https;branch=master \ 20*edff4923SAndrew Geissler file://tune-makefile.patch \ 21*edff4923SAndrew Geissler " 22*edff4923SAndrew GeisslerSRCREV = "c37c74438429e1d5fe465232e7bf894b239a2cd4" 23*edff4923SAndrew Geissler 24*edff4923SAndrew GeisslerUPSTREAM_CHECK_GITTAGREGEX = "rev(?P<pver>\d+(\-\d+)+)" 25*edff4923SAndrew Geissler 26*edff4923SAndrew GeisslerS = "${WORKDIR}/git/src" 27*edff4923SAndrew Geissler 28*edff4923SAndrew GeisslerCFLAGS += "-Wno-error=maybe-uninitialized" 29*edff4923SAndrew Geissler 30*edff4923SAndrew Geisslerdo_compile () { 31*edff4923SAndrew Geissler make CC='${CC}' 32*edff4923SAndrew Geissler} 33*edff4923SAndrew Geissler 34*edff4923SAndrew Geisslerdo_install () { 35*edff4923SAndrew Geissler install -d ${D}/${bindir} 36*edff4923SAndrew Geissler install -m 0755 tpm_server ${D}/${bindir} 37*edff4923SAndrew Geissler} 38