diff options
author | Joel Winarske <joel.winarske@gmail.com> | 2021-11-04 09:14:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-07 15:49:51 +0000 |
commit | ddcaf3596227a32628b436f4130f4c0b1541a4be (patch) | |
tree | 223822a4cdb75a9bd0d9379ffebf50e5b1203dae /meta/recipes-graphics | |
parent | b3f26faf055185a182f68e7813fc58d77ce364c9 (diff) | |
download | poky-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.inc | 1 |
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 = "" | |||
112 | VULKAN_DRIVERS:append:x86:class-target = ",intel" | 112 | VULKAN_DRIVERS:append:x86:class-target = ",intel" |
113 | VULKAN_DRIVERS:append:x86-64:class-target = ",intel" | 113 | VULKAN_DRIVERS:append:x86-64:class-target = ",intel" |
114 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | 114 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" |
115 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" | ||
115 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers=''," | 116 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers=''," |
116 | 117 | ||
117 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" | 118 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" |