diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2020-07-24 17:42:53 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-27 10:37:58 +0100 |
commit | 89fcdf98683b2802a0155bf9f608f1a4a413f9fc (patch) | |
tree | cef0f7c02b3648e518a0022fae29cc4386711bf8 /meta/recipes-graphics/mesa | |
parent | 48ba352755292c591e1b3a318a1962153c221753 (diff) | |
download | poky-89fcdf98683b2802a0155bf9f608f1a4a413f9fc.tar.gz |
mesa: enable freedreno Vulkan driver if freedreno is enabled
If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan
driver.
(From OE-Core rev: eee63fdddaf74e548c362050f57e1d67eba1ba5d)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-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 4fe5f025eb..6fd92035f0 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -121,6 +121,7 @@ PACKAGECONFIG[dri3] = "-Ddri3=true, -Ddri3=false, xorgproto libxshmfence" | |||
121 | VULKAN_DRIVERS = "" | 121 | VULKAN_DRIVERS = "" |
122 | VULKAN_DRIVERS_append_x86_class-target = ",intel" | 122 | VULKAN_DRIVERS_append_x86_class-target = ",intel" |
123 | VULKAN_DRIVERS_append_x86-64_class-target = ",intel" | 123 | VULKAN_DRIVERS_append_x86-64_class-target = ",intel" |
124 | VULKAN_DRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | ||
124 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${VULKAN_DRIVERS}, -Dvulkan-drivers=''," | 125 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${VULKAN_DRIVERS}, -Dvulkan-drivers=''," |
125 | 126 | ||
126 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" | 127 | PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" |