mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH] mesalib: install gfxstream vulkan icd manifest
Date: Thu, 22 Jan 2026 11:19:52 +0100	[thread overview]
Message-ID: <20260122101952.1132479-1-p.zabel@pengutronix.de> (raw)

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




                 reply	other threads:[~2026-01-22 10:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260122101952.1132479-1-p.zabel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox