mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 5/6] rules/host-sbsigntools: Add new package.
Date: Fri, 16 Jul 2021 15:41:06 +0200	[thread overview]
Message-ID: <20210716134107.31712-5-christian.melki@t2data.com> (raw)
In-Reply-To: <20210716134107.31712-1-christian.melki@t2data.com>

sbsigntools as a host package.
sbsign is an EFI image signer for use with secure boot.
Common use is on the host sign to sign the images.
Depends on libuuid, openssl and gnu-efi.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/host-sbsigntools.in   | 10 ++++++++++
 rules/host-sbsigntools.make | 26 ++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 rules/host-sbsigntools.in
 create mode 100644 rules/host-sbsigntools.make

diff --git a/rules/host-sbsigntools.in b/rules/host-sbsigntools.in
new file mode 100644
index 000000000..e523fdce9
--- /dev/null
+++ b/rules/host-sbsigntools.in
@@ -0,0 +1,10 @@
+## SECTION=hosttools_noprompt
+
+config HOST_SBSIGNTOOLS
+	tristate
+	default y if ALLYES
+	select HOST_OPENSSL
+	select HOST_LIBUUID
+	select HOST_GNU_EFI
+	help
+	  Signing utility for UEFI secure boot.
diff --git a/rules/host-sbsigntools.make b/rules/host-sbsigntools.make
new file mode 100644
index 000000000..1308ac2dd
--- /dev/null
+++ b/rules/host-sbsigntools.make
@@ -0,0 +1,26 @@
+# -*-makefile-*-
+# Copyright (C) 2021 by Christian Melki <christian.melki@t2data.com>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_SBSIGNTOOLS) += host-sbsigntools
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_SBSIGNTOOLS_ARCH = $(call ptx/force-sh, uname -m)
+
+HOST_SBSIGNTOOLS_CONF_TOOL	:= autoconf
+
+HOST_SBSIGNTOOLS_CONF_OPT	:= \
+	$(HOST_AUTOCONF) \
+	--with-gnu-efi=$(PTXDIST_SYSROOT_HOST) \
+	--with-efi-arch=$(HOST_SBSIGNTOOLS_ARCH)
+
+# vim: syntax=make
-- 
2.32.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  parent reply	other threads:[~2021-07-16 13:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16 13:41 [ptxdist] [PATCH 1/6] rules/host-gnu-efi: " Christian Melki
2021-07-16 13:41 ` [ptxdist] [PATCH 2/6] rules/gnu-efi: " Christian Melki
2021-07-19  9:09   ` Roland Hieber
2021-07-19  9:11     ` Roland Hieber
2021-07-20 13:08     ` Christian Melki
2021-07-20 14:22       ` Roland Hieber
2021-07-16 13:41 ` [ptxdist] [PATCH 3/6] rules/host-efitools: " Christian Melki
2021-07-16 13:41 ` [ptxdist] [PATCH 4/6] rules/efitools: " Christian Melki
2021-07-16 13:41 ` Christian Melki [this message]
2021-07-16 13:41 ` [ptxdist] [PATCH 6/6] rules/sbsigntools: " Christian Melki

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=20210716134107.31712-5-christian.melki@t2data.com \
    --to=christian.melki@t2data.com \
    --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