mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/6] rules/host-gnu-efi: Add new package.
@ 2021-07-16 13:41 Christian Melki
  2021-07-16 13:41 ` [ptxdist] [PATCH 2/6] rules/gnu-efi: " Christian Melki
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Christian Melki @ 2021-07-16 13:41 UTC (permalink / raw)
  To: ptxdist

GNU EFI library as host package.
Used by various tools for various EFI work.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 rules/host-gnu-efi.in   |  7 +++++++
 rules/host-gnu-efi.make | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 rules/host-gnu-efi.in
 create mode 100644 rules/host-gnu-efi.make

diff --git a/rules/host-gnu-efi.in b/rules/host-gnu-efi.in
new file mode 100644
index 000000000..c7f665135
--- /dev/null
+++ b/rules/host-gnu-efi.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_GNU_EFI
+	tristate
+	default y if ALLYES
+	help
+	  This is gnu-efi, a library for providing EFI functions.
diff --git a/rules/host-gnu-efi.make b/rules/host-gnu-efi.make
new file mode 100644
index 000000000..d585d6731
--- /dev/null
+++ b/rules/host-gnu-efi.make
@@ -0,0 +1,33 @@
+# -*-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_GNU_EFI) += host-gnu-efi
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------               
+
+HOST_GNU_EFI_ARCH = $(call ptx/force-sh, uname -m)
+
+HOST_GNU_EFI_CONF_TOOL	:= NO
+
+HOST_GNU_EFI_MAKE_ENV	:= \
+	$(HOST_ENV) \
+	ARCH=$(HOST_GNU_EFI_ARCH) \
+	PREFIX=/usr \
+
+HOST_GNU_EFI_INSTALL_OPT := \
+	$(HOST_ENV) \
+	ARCH=$(HOST_GNU_EFI_ARCH) \
+	INSTALLROOT=$(PTXDIST_SYSROOT_HOST) \
+	PREFIX=/usr \
+	install
+
+# 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-07-20 14:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 13:41 [ptxdist] [PATCH 1/6] rules/host-gnu-efi: Add new package 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 ` [ptxdist] [PATCH 5/6] rules/host-sbsigntools: " Christian Melki
2021-07-16 13:41 ` [ptxdist] [PATCH 6/6] rules/sbsigntools: " Christian Melki

mailarchive of the ptxdist mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.ptxdist.org/ptxdist/0 ptxdist/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ptxdist ptxdist/ https://lore.ptxdist.org/ptxdist \
		ptxdist@pengutronix.de
	public-inbox-index ptxdist

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git