mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 3/5] tpm2-tss: added
Date: Thu, 19 Oct 2017 09:34:02 +0200	[thread overview]
Message-ID: <3b0a30a5-fd36-ff82-df65-f24a05bf6156@pengutronix.de> (raw)
In-Reply-To: <20171016132800.betiuwaandtrmsuf@pengutronix.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 3716 bytes --]

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 <mkl@pengutronix.de>
>>>>
>>>> ---
>>>>   .../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/autogen.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/patches/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=tpm
>>>> +
>>>> +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 <mkl@pengutronix.de>
>>>> +#
>>>> +# See CREDITS for details about who has contributed to this project.
>>>> +#
>>>> +# For further information about the PTXdist project and license conditions
>>>> +# see the README file.
>>>> +#
>>>> +
>>>> +#
>>>> +# We provide this package
>>>> +#
>>>> +PACKAGES-$(PTXCONF_TPM2_TSS) += tpm2-tss
>>>> +
>>>> +#
>>>> +# Paths and names
>>>> +#
>>>> +TPM2_TSS_VERSION	:= 1.1.0-501-g3bc96032d473
>>>> +TPM2_TSS_MD5		:= 000e725dd83adbae902421107e660f4c
>>>> +TPM2_TSS		:= tpm2-tss-$(TPM2_TSS_VERSION)
>>>> +TPM2_TSS_SUFFIX		:= tar.gz
>>>> +TPM2_TSS_URL		:= https://github.com/01org/tpm2-tss.git;tag=$(TPM2_TSS_VERSION)
>>>
>>> This one errors. Did you maybe confuse cgit URL syntax with GitHub URL
>>> syntax? :)
>>
>> This works as a git rule. Yor probably confused this as a curlable tarball.
> 
> Maybe use https://github.com/01org/tpm2-tss/archive/$(TPM2_TSS_VERSION).zip ?
> That way we don't need to use git.

The features we need are not available in a release yet.

Marc

-- 
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   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-10-19  7:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-16 11:02 [ptxdist] [PATCH 0/5] tpm2: added tools and daemon Michael Grzeschik
2017-10-16 11:02 ` [ptxdist] [PATCH 1/5] host-autotools-autoconf-archive: added Michael Grzeschik
2017-10-16 11:02 ` [ptxdist] [PATCH 2/5] tpm: add menu Michael Grzeschik
2017-10-16 11:02 ` [ptxdist] [PATCH 3/5] tpm2-tss: added Michael Grzeschik
2017-10-16 12:46   ` Roland Hieber
2017-10-16 12:51     ` Michael Grzeschik
2017-10-16 13:28       ` Michael Olbrich
2017-10-19  7:34         ` Marc Kleine-Budde [this message]
2017-10-19 15:31           ` Michael Olbrich
2017-10-16 11:02 ` [ptxdist] [PATCH 4/5] tpm2-abrmd: added Michael Grzeschik
2017-10-16 11:02 ` [ptxdist] [PATCH 5/5] tpm2-tools: added Michael Grzeschik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3b0a30a5-fd36-ff82-df65-f24a05bf6156@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox