Host efitools. Depending on your needs, this might be used for signing EFI images from host environment or reading efi variables from a target environment. This is the host side toolset.
Signed-off-by: Christian Melki <[email protected]> --- rules/host-efitools.in | 9 +++++++++ rules/host-efitools.make | 29 +++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 rules/host-efitools.in create mode 100644 rules/host-efitools.make diff --git a/rules/host-efitools.in b/rules/host-efitools.in new file mode 100644 index 000000000..6313ca6a3 --- /dev/null +++ b/rules/host-efitools.in @@ -0,0 +1,9 @@ +## SECTION=hosttools_noprompt + +config HOST_EFITOOLS + tristate + default y if ALLYES + select HOST_OPENSSL + select HOST_SBSIGNTOOLS + help + Required host part to build efitools for target. diff --git a/rules/host-efitools.make b/rules/host-efitools.make new file mode 100644 index 000000000..c668b06d0 --- /dev/null +++ b/rules/host-efitools.make @@ -0,0 +1,29 @@ +# -*-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_EFITOOLS) += host-efitools + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_EFITOOLS_ARCH = $(call ptx/force-sh, uname -m) + +HOST_EFITOOLS_CONF_TOOL := NO + +HOST_EFITOOLS_MAKE_ENV := \ + $(HOST_ENV) \ + ARCH=$(HOST_EFITOOLS_ARCH) \ + INCDIR_PREFIX=$(PTXDIST_SYSROOT_HOST) \ + CRTPATH_PREFIX=$(PTXDIST_SYSROOT_HOST) \ + OPENSSL_LIB=$(PTXDIST_SYSROOT_HOST) \ + prefix=/usr + +# vim: syntax=make -- 2.32.0 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
