This fixes a couple of issues reported on the ML.

mesa-tools-native doesn't build if wayland isn't selected in
PACKAGECONFIG (which is the case if it's missing from DISTRO_FEATURES)
because of a missing dependency on libdrm for panfrost tools.

The move for mesa from building libclc for the target to using
mesa-tools-native as precomp-compiler provider broke building the
imagination vulkan driver.

While reviewing the patch for fixing mesa-tools-native I identified a
missing libdrm dependency for the vulkan drivers that we could hit if
the gallium and wayland PACKAGECONFIG aren't selected but vulkan is.
Considering gallium is unconditionally added to PACKAGECONFIG, only
bbappend which override it or :remove from it would be affected, but it
doesn't hurt to fix the potential build issue.

Signed-off-by: Quentin Schulz <[email protected]>
---
Quentin Schulz (3):
      mesa: fix missing dependency for libdrm for panfrost tools
      mesa: fix building imagination Vulkan driver
      mesa: add missing libdrm dependency for vulkan drivers

 meta/recipes-graphics/mesa/mesa-tools-native.bb | 2 +-
 meta/recipes-graphics/mesa/mesa.inc             | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
---
base-commit: acf86cc2af1d08fdf191209f1462b2eafb53d3bb
change-id: 20260326-mesa-libdrm-imagination-8d578f457eb0

Best regards,
--  
Quentin Schulz <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233972): 
https://lists.openembedded.org/g/openembedded-core/message/233972
Mute This Topic: https://lists.openembedded.org/mt/118516163/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to