All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach via buildroot <buildroot@buildroot.org>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: Stefan Berger <stefanb@linux.ibm.com>,
	"Yann E . MORIN" <yann.morin.1998@free.fr>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 2/3] package/libtpms: add host package
Date: Mon, 20 May 2024 06:06:49 +0300	[thread overview]
Message-ID: <8734qdqj06.fsf@tarshish> (raw)
In-Reply-To: <20240519210235.8493-3-jarkko@kernel.org> (Jarkko Sakkinen's message of "Mon, 20 May 2024 00:02:34 +0300")

Hi Jarkko,

[ Resend with the list on Cc; sorry for the dup ]

On Mon, May 20 2024, Jarkko Sakkinen wrote:
> diff --git a/package/libtpms/libtpms.mk b/package/libtpms/libtpms.mk
> new file mode 100644
> index 0000000000..b730cc95f7
> --- /dev/null
> +++ b/package/libtpms/libtpms.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# libtpms
> +#
> +################################################################################
> +
> +LIBTPMS_VERSION = 0.9.6
> +LIBTPMS_SITE = $(call github,stefanberger,libtpms,v$(LIBTPMS_VERSION))
> +LIBTPMS_LICENSE = BSD-4-Clause
> +LIBTPMS_LICENSE_FILES = LICENSE
> +LIBTPMS_INSTALL_STAGING = YES
> +# Straight from the git repository:
> +LIBTPMS_AUTORECONF = YES

For a host package you want the HOST_ variant.

> +
> +LIBTPMS_DEPENDENCIES = libtool pkgconf openssl
> +LIBTPMS_CONF_OPTS = --with-openssl  -with-tpm2

Since this is a host only package, these two are unused I think.

> +
> +HOST_LIBTPMS_DEPENDENCIES = host-libtool host-pkgconf host-openssl

package/pkg-autotools.mk automatically adds host-libtool dependency for
the AUTORECONF case.

baruch

> +HOST_LIBTPMS_CONF_OPTS = --with-openssl  -with-tpm2
> +
> +$(eval $(host-autotools-package))

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-05-20  3:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-19 21:02 [Buildroot] [PATCH v3 0/3] swtpm and libtpms host packages Jarkko Sakkinen
2024-05-19 21:02 ` [Buildroot] [PATCH v3 1/3] package/json-glib: add host build Jarkko Sakkinen
2024-05-19 21:02 ` [Buildroot] [PATCH v3 2/3] package/libtpms: add host package Jarkko Sakkinen
2024-05-20  3:06   ` Baruch Siach via buildroot [this message]
2024-05-19 21:02 ` [Buildroot] [PATCH v3 3/3] package/swtpm: " Jarkko Sakkinen

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=8734qdqj06.fsf@tarshish \
    --to=buildroot@buildroot.org \
    --cc=baruch@tkos.co.il \
    --cc=jarkko@kernel.org \
    --cc=stefanb@linux.ibm.com \
    --cc=yann.morin.1998@free.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.