mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 2/3] Add host-pkcs11-provider
Date: Thu, 23 Apr 2026 09:50:01 +0200	[thread overview]
Message-ID: <aenPKZxvrxCELDpp@pengutronix.de> (raw)
In-Reply-To: <20260422-code-signing-provider-v1-2-ce986114c54d@pengutronix.de>

On Wed, Apr 22, 2026 at 04:58:40PM +0200, Sascha Hauer wrote:
> Add host-pkcs11-provider in preparation to add provider support to the
> ptxdist code signing infrastructure.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  rules/host-pkcs11-provider.in   | 10 ++++++++++
>  rules/host-pkcs11-provider.make | 33 +++++++++++++++++++++++++++++++++
>  2 files changed, 43 insertions(+)
> 
> diff --git a/rules/host-pkcs11-provider.in b/rules/host-pkcs11-provider.in
> new file mode 100644
> index 000000000..7d37f401c
> --- /dev/null
> +++ b/rules/host-pkcs11-provider.in
> @@ -0,0 +1,10 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_PKCS11_PROVIDER
> +	tristate
> +	default y if ALLYES
> +	select HOST_MESON
> +	select HOST_OPENSSL
> +
> +
> +# vim: ft=kconfig tw=80
> diff --git a/rules/host-pkcs11-provider.make b/rules/host-pkcs11-provider.make
> new file mode 100644
> index 000000000..658ee177d
> --- /dev/null
> +++ b/rules/host-pkcs11-provider.make
> @@ -0,0 +1,33 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2026 by Sascha Hauer <s.hauer@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +HOST_PACKAGES-$(PTXCONF_HOST_PKCS11_PROVIDER) += host-pkcs11-provider
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_PKCS11_PROVIDER_CONF_ENV	:= \
> +	$(HOST_ENV)
> +
> +#
> +# meson
> +#
> +HOST_PKCS11_PROVIDER_CONF_TOOL	:= meson
> +HOST_PKCS11_PROVIDER_CONF_OPT	:=  \
> +	$(HOST_MESON_OPT)
> +
> +$(STATEDIR)/host-pkcs11-provider.prepare:
> +	@$(call targetinfo)
> +	$(call world/prepare, HOST_PKCS11_PROVIDER)
> +	@$(call touch)

These four lines can be removed, only had them for debugging and forgot
to remove.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2026-04-23  7:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22 14:58 [ptxdist] [PATCH 0/3] code-signing: add provider support Sascha Hauer
2026-04-22 14:58 ` [ptxdist] [PATCH 1/3] host-libp11: use correct path for ossl-modules Sascha Hauer
2026-04-22 14:58 ` [ptxdist] [PATCH 2/3] Add host-pkcs11-provider Sascha Hauer
2026-04-23  7:50   ` Sascha Hauer [this message]
2026-04-22 14:58 ` [ptxdist] [PATCH 3/3] code-signing: enable provider support Sascha Hauer

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=aenPKZxvrxCELDpp@pengutronix.de \
    --to=s.hauer@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