Required by host-mesalib to build panfrost tools. Signed-off-by: Philipp Zabel <[email protected]> --- 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 <[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 -- 2.39.5
