summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
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:51 +0000
commitddcaf3596227a32628b436f4130f4c0b1541a4be (patch)
tree223822a4cdb75a9bd0d9379ffebf50e5b1203dae /meta/recipes-graphics
parentb3f26faf055185a182f68e7813fc58d77ce364c9 (diff)
downloadpoky-ddcaf3596227a32628b436f4130f4c0b1541a4be.tar.gz
mesa: Add PACKAGECONFIG option for broadcom v3d Vulkan driver
Enables building the Vulkan 1.1 compliant v3d driver. (From OE-Core rev: 8cc28b231b821bb9669eb3980281d27399f378be) Signed-off-by: Joel Winarske <joel.winarske@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-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 = ""
112VULKAN_DRIVERS:append:x86:class-target = ",intel" 112VULKAN_DRIVERS:append:x86:class-target = ",intel"
113VULKAN_DRIVERS:append:x86-64:class-target = ",intel" 113VULKAN_DRIVERS:append:x86-64:class-target = ",intel"
114VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" 114VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}"
115VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}"
115PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers=''," 116PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',"
116 117
117PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" 118PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false"