mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mesalib: install gfxstream vulkan icd manifest
@ 2026-01-22 10:19 Philipp Zabel
  0 siblings, 0 replies; only message in thread
From: Philipp Zabel @ 2026-01-22 10:19 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

The json manifest for the gfxstream driver is called
gfxstream_vk_icd.x86-64.json.
Use the correct name to make sure it is installed.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/mesalib.make | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/rules/mesalib.make b/rules/mesalib.make
index 22707ae36bac..a1ba85ad19fc 100644
--- a/rules/mesalib.make
+++ b/rules/mesalib.make
@@ -166,6 +166,10 @@ MESALIB_VULKAN_LIBS-y = $(subst amd,radeon \
 	,$(MESALIB_VULKAN_DRIVERS-y) \
 	)))
 
+MESALIB_VULKAN_ICDS-y = $(subst gfxstream,gfxstream_vk \
+	,$(MESALIB_VULKAN_LIBS-y) \
+	)
+
 MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_ANTI_LAG)	+= anti-lag
 MESALIB_VULKAN_LAYERS-$(PTXCONF_MESALIB_VULKAN_DEVICE_SELECT)	+= device-select
 ifdef PTXCONF_ARCH_X86
@@ -362,9 +366,10 @@ endif
 ifneq ($(strip $(MESALIB_VULKAN_LIBS-y)),)
 	@$(foreach lib, $(MESALIB_VULKAN_LIBS-y), \
 		$(call install_copy, mesalib, 0, 0, 0644, -, \
-		/usr/lib/libvulkan_$(lib).so)$(ptx/nl) \
+		/usr/lib/libvulkan_$(lib).so)$(ptx/nl))
+	@$(foreach icd, $(MESALIB_VULKAN_ICDS-y), \
 		$(call install_glob, mesalib, 0, 0, -, \
-		/etc/vulkan/icd.d, */$(lib)_icd.*.json)$(ptx/nl))
+		/etc/vulkan/icd.d, */$(icd)_icd.*.json)$(ptx/nl))
 endif
 ifneq ($(strip $(MESALIB_VULKAN_LAYERS-y)),)
 	@$(foreach lib, $(filter-out intel-nullhw,$(MESALIB_VULKAN_LAYERS-y)), \
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-22 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-22 10:19 [ptxdist] [PATCH] mesalib: install gfxstream vulkan icd manifest Philipp Zabel

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