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 <[email protected]> --- 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 <[email protected]> +# +# 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 [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
