summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Winarske <joel.winarske@gmail.com>2021-11-04 09:14:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-07 15:49:48 +0000
commit8cc28b231b821bb9669eb3980281d27399f378be (patch)
tree32662618480baee5ee72cabaa88022690ff1363c
parent9241266d18fc081f570bbb22b45d0875546a2e93 (diff)
downloadopenembedded-core-contrib-8cc28b231b821bb9669eb3980281d27399f378be.tar.gz
mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver
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>
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc1
1 files changed, 1 insertions, 0 deletions
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"