From 8cc28b231b821bb9669eb3980281d27399f378be Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Thu, 4 Nov 2021 09:14:21 -0700 Subject: [PATCH] mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver Enables building the Vulkan 1.1 compliant v3d driver. Signed-off-by: Joel Winarske Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index cc71114992..b687f8e4ab 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -112,6 +112,7 @@ VULKAN_DRIVERS = "" VULKAN_DRIVERS:append:x86:class-target = ",intel" VULKAN_DRIVERS:append:x86-64:class-target = ",intel" VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" +VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers=''," PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" -- 2.40.1