mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/2] libdrm: new host recipe
@ 2025-05-26 10:27 Philipp Zabel
  2025-05-26 10:27 ` [ptxdist] [PATCH v2 2/2] mesalib: version bump 25.0.6 -> 25.1.1 Philipp Zabel
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2025-05-26 10:27 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Required by host-mesalib to build panfrost tools.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
New in v2.
---
 rules/host-libdrm.in   |  5 +++++
 rules/host-libdrm.make | 31 +++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 rules/host-libdrm.in
 create mode 100644 rules/host-libdrm.make

diff --git a/rules/host-libdrm.in b/rules/host-libdrm.in
new file mode 100644
index 000000000000..bea3f4fc7cb4
--- /dev/null
+++ b/rules/host-libdrm.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_LIBDRM
+	tristate
+	select HOST_MESON
diff --git a/rules/host-libdrm.make b/rules/host-libdrm.make
new file mode 100644
index 000000000000..6702578b5437
--- /dev/null
+++ b/rules/host-libdrm.make
@@ -0,0 +1,31 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBDRM) += host-libdrm
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_LIBDRM_CONF_TOOL := meson
+HOST_LIBDRM_CONF_OPT := \
+	$(HOST_MESON_OPT) \
+	$(patsubst %,-D%=disabled,$(LIBDRM_BACKENDSC-y)) \
+	$(patsubst %,-D%=disabled,$(LIBDRM_BACKENDSC-)) \
+	-Dcairo-tests=disabled \
+	-Dfreedreno-kgsl=false \
+	-Dman-pages=disabled \
+	-Dvalgrind=disabled \
+	-Dinstall-test-programs=false \
+	-Dtests=false \
+	-Dudev=false
+
+# vim: syntax=make
-- 
2.39.5




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

end of thread, other threads:[~2025-05-26 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-26 10:27 [ptxdist] [PATCH v2 1/2] libdrm: new host recipe Philipp Zabel
2025-05-26 10:27 ` [ptxdist] [PATCH v2 2/2] mesalib: version bump 25.0.6 -> 25.1.1 Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox