From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e55LB-0007XQ-Ts for ptxdist@pengutronix.de; Thu, 19 Oct 2017 09:34:06 +0200 Received: from [IPv6:2001:470:7eea:1122:6d84:25d4:4e:4722] (unknown [IPv6:2001:470:7eea:1122:6d84:25d4:4e:4722]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mkl@blackshift.org", Issuer "StartCom Class 1 Client CA" (not verified)) (Authenticated sender: mkl@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 2F32C27277A for ; Thu, 19 Oct 2017 07:34:05 +0000 (UTC) References: <20171016110227.20681-1-m.grzeschik@pengutronix.de> <20171016110227.20681-4-m.grzeschik@pengutronix.de> <25eb5c9d-5231-b93b-8524-c9f731c3b634@pengutronix.de> <20171016125113.b3jhsdbxrq6d3cdl@pengutronix.de> <20171016132800.betiuwaandtrmsuf@pengutronix.de> From: Marc Kleine-Budde Message-ID: <3b0a30a5-fd36-ff82-df65-f24a05bf6156@pengutronix.de> Date: Thu, 19 Oct 2017 09:34:02 +0200 MIME-Version: 1.0 In-Reply-To: <20171016132800.betiuwaandtrmsuf@pengutronix.de> Subject: Re: [ptxdist] [PATCH 3/5] tpm2-tss: added List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1597751227==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1597751227== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OaofUKAb9l2aW7RC73Wsprk6DQ3IUdf44" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OaofUKAb9l2aW7RC73Wsprk6DQ3IUdf44 Content-Type: multipart/mixed; boundary="qmKb2dB69MtxnCUBSlATQBDnxE9InOsMK"; protected-headers="v1" From: Marc Kleine-Budde To: ptxdist@pengutronix.de Message-ID: <3b0a30a5-fd36-ff82-df65-f24a05bf6156@pengutronix.de> Subject: Re: [ptxdist] [PATCH 3/5] tpm2-tss: added References: <20171016110227.20681-1-m.grzeschik@pengutronix.de> <20171016110227.20681-4-m.grzeschik@pengutronix.de> <25eb5c9d-5231-b93b-8524-c9f731c3b634@pengutronix.de> <20171016125113.b3jhsdbxrq6d3cdl@pengutronix.de> <20171016132800.betiuwaandtrmsuf@pengutronix.de> In-Reply-To: <20171016132800.betiuwaandtrmsuf@pengutronix.de> --qmKb2dB69MtxnCUBSlATQBDnxE9InOsMK Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable On 10/16/2017 03:28 PM, Michael Olbrich wrote: > On Mon, Oct 16, 2017 at 02:51:13PM +0200, Michael Grzeschik wrote: >> On Mon, Oct 16, 2017 at 02:46:52PM +0200, Roland Hieber wrote: >>> On 16.10.2017 13:02, Michael Grzeschik wrote: >>>> From: Marc Kleine-Budde >>>> >>>> --- >>>> .../tpm2-tss-1.1.0-501-g3bc96032d473/autogen.sh | 1 + >>>> rules/tpm2-tss.in | 21 ++++++++ >>>> rules/tpm2-tss.make | 59 ++++++++++= ++++++++++++ >>>> 3 files changed, 81 insertions(+) >>>> create mode 100755 patches/tpm2-tss-1.1.0-501-g3bc96032d473/autoge= n.sh >>>> create mode 100644 rules/tpm2-tss.in >>>> create mode 100644 rules/tpm2-tss.make >>>> >>>> diff --git a/patches/tpm2-tss-1.1.0-501-g3bc96032d473/autogen.sh b/p= atches/tpm2-tss-1.1.0-501-g3bc96032d473/autogen.sh >>>> new file mode 100755 >>>> index 000000000..e62625c77 >>>> --- /dev/null >>>> +++ b/patches/tpm2-tss-1.1.0-501-g3bc96032d473/autogen.sh >>>> @@ -0,0 +1 @@ >>>> +./bootstrap >>>> diff --git a/rules/tpm2-tss.in b/rules/tpm2-tss.in >>>> new file mode 100644 >>>> index 000000000..2a1b7f09c >>>> --- /dev/null >>>> +++ b/rules/tpm2-tss.in >>>> @@ -0,0 +1,21 @@ >>>> +## SECTION=3Dtpm >>>> + >>>> +config TPM2_TSS >>>> + tristate >>>> + select HOST_AUTOTOOLS_AUTOCONF_ARCHIVE >>>> + prompt "tpm2-tss" >>>> + help >>>> + TPM2 Software stack library - TSS and TCTI libraries >>>> + >>>> + TPM2.0 TSS (Software Stack) consists of API layers provided >>>> + to support TPM 2.0 chips. It is made out of three layers: >>>> + >>>> + * System API (SAPI), which implements the system layer API; >>>> + * TPM Command Transmission Interface (TCTI), which is used >>>> + by SAPI to allow communication with the TAB/RM layer; >>>> + * Trusted Access Broker/Resource Manager (TAB/RM), which >>>> + handles TPM resources and process coordination. >>>> + >>>> + This package contains the TSS and TCTI libraries that client >>>> + applications will link against when they require accessing >>>> + the TPM. >>>> diff --git a/rules/tpm2-tss.make b/rules/tpm2-tss.make >>>> new file mode 100644 >>>> index 000000000..f792abaf4 >>>> --- /dev/null >>>> +++ b/rules/tpm2-tss.make >>>> @@ -0,0 +1,59 @@ >>>> +# -*-makefile-*- >>>> +# >>>> +# Copyright (C) 2017 by Marc Kleine-Budde >>>> +# >>>> +# See CREDITS for details about who has contributed to this project= =2E >>>> +# >>>> +# For further information about the PTXdist project and license con= ditions >>>> +# see the README file. >>>> +# >>>> + >>>> +# >>>> +# We provide this package >>>> +# >>>> +PACKAGES-$(PTXCONF_TPM2_TSS) +=3D tpm2-tss >>>> + >>>> +# >>>> +# Paths and names >>>> +# >>>> +TPM2_TSS_VERSION :=3D 1.1.0-501-g3bc96032d473 >>>> +TPM2_TSS_MD5 :=3D 000e725dd83adbae902421107e660f4c >>>> +TPM2_TSS :=3D tpm2-tss-$(TPM2_TSS_VERSION) >>>> +TPM2_TSS_SUFFIX :=3D tar.gz >>>> +TPM2_TSS_URL :=3D https://github.com/01org/tpm2-tss.git;tag=3D$(TP= M2_TSS_VERSION) >>> >>> This one errors. Did you maybe confuse cgit URL syntax with GitHub UR= L >>> syntax? :) >> >> This works as a git rule. Yor probably confused this as a curlable tar= ball. >=20 > Maybe use https://github.com/01org/tpm2-tss/archive/$(TPM2_TSS_VERSION)= =2Ezip ? > That way we don't need to use git. The features we need are not available in a release yet. Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --qmKb2dB69MtxnCUBSlATQBDnxE9InOsMK-- --OaofUKAb9l2aW7RC73Wsprk6DQ3IUdf44 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE4bay/IylYqM/npjQHv7KIOw4HPYFAlnoVWoACgkQHv7KIOw4 HPYGqwf9Hgxoq5yZyLGSV858x4ALBG78aPyaMEOyYahk6/FoA5kJZZV43tGazUp1 sor7V0/kgb2UaERg37G3irsiP3X2yqukupnDEo1aT6/IwuZjlOREj74ziTdYhW0r w4YrshhDak9NH66vYCKgUOW2sy/o/K7bJdzmCkbPYoFv4meyyy/WiOXlFFm8bGxx pYK/JIMZcmWeBImZS/oj+N0DsNoylyrrVTlGyiK9k62IRYd4hkNafgFUup0QBu+v Nye8wTOCv5Nxn/VTyq7AptkDuZjkLktCk1A2Dj4HJeyuUhTBinRBaajDFeV0cvE0 vKAd0igplBnYuwLDWBaYyOegc2AEgA== =mPNy -----END PGP SIGNATURE----- --OaofUKAb9l2aW7RC73Wsprk6DQ3IUdf44-- --===============1597751227== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1597751227==--