Thanks, applied as 1e49a33745a8c662b023e752ac6c5747e585eded.

Michael

[sent from post-receive hook]

On Thu, 12 Jun 2025 21:31:56 +0200, Philipp Zabel <[email protected]> 
wrote:
> Required by host-mesalib to build panfrost tools.
> 
> Signed-off-by: Philipp Zabel <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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 <[email protected]>
> +#
> +# 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

Reply via email to