mbox series

[0/3] mesa: fix build for panfrost tools, imagination Vulkan driver and Vulkan-only build

Message ID 20260326-mesa-libdrm-imagination-v1-0-fe018f03be6a@cherry.de
Headers show
Series mesa: fix build for panfrost tools, imagination Vulkan driver and Vulkan-only build | expand

Message

Quentin Schulz March 26, 2026, 11:05 a.m. UTC
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 <quentin.schulz@cherry.de>
---
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 <quentin.schulz@cherry.de>