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 <m...@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 <m...@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.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to