]> code.ossystems Code Review - openembedded-core.git/commitdiff
mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver
authorJoel Winarske <joel.winarske@gmail.com>
Thu, 4 Nov 2021 16:14:21 +0000 (09:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 7 Nov 2021 15:49:48 +0000 (15:49 +0000)
Enables building the Vulkan 1.1 compliant v3d driver.

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/mesa.inc

index cc7111499244c9b924f7d8bbf04be452f8bef56f..b687f8e4ab96668e1fa3dda07790893f67ac3bed 100644 (file)
@@ -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"