mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/mesa3d-demos: depend on vulkan-loader if enabled
Vulkan support in mesa3d-demos requires vulkan-loader. Without an
explicit config flag it is autodetected, and may or may not be enabled
depending on build order, leading to unpredictable results.
Fix this by explicitly enabling Vulkan support and depending on
vulkan-loader if BR2_PACKAGE_VULKAN_LOADER=y, and disabling Vulkan
support otherwise.
Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 7a55e82cb8)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
1723303a62
commit
68feea01df
@@ -69,4 +69,11 @@ else
|
||||
MESA3D_DEMOS_CONF_OPTS += -Dwayland=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_VULKAN_LOADER),y)
|
||||
MESA3D_DEMOS_DEPENDENCIES += vulkan-loader
|
||||
MESA3D_DEMOS_CONF_OPTS += -Dvulkan=enabled
|
||||
else
|
||||
MESA3D_DEMOS_CONF_OPTS += -Dvulkan=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user