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:54 +0100 |
commit | eee63fdddaf74e548c362050f57e1d67eba1ba5d (patch) | |
tree | 9493cbc2ab1d5cc283455be5cad9b64965b7f07c | |
parent | 1b9ea22acb66554925720e04cf24100664234574 (diff) | |
download | openembedded-core-contrib-eee63fdddaf74e548c362050f57e1d67eba1ba5d.tar.gz |
mesa: enable freedreno Vulkan driver if freedreno is enabled
If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan
driver.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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" 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)}" PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${VULKAN_DRIVERS}, -Dvulkan-drivers=''," PACKAGECONFIG[opengl] = "-Dopengl=true, -Dopengl=false" |