mirror of
https://git.yoctoproject.org/poky
synced 2026-04-10 23:02:25 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
48ba352755
commit
89fcdf9868
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user