mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-27 15:33:28 +08:00
package/qt6base: add vulkan option
Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
c6b2a5049e
commit
1c27f3a12d
@ -43,6 +43,16 @@ config BR2_PACKAGE_QT6BASE_GUI
|
||||
|
||||
if BR2_PACKAGE_QT6BASE_GUI
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_VULKAN
|
||||
bool "Vulkan support"
|
||||
depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
|
||||
depends on !BR2_STATIC_LIBS # vulkan-loader
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
|
||||
select BR2_PACKAGE_VULKAN_HEADERS
|
||||
select BR2_PACKAGE_VULKAN_LOADER
|
||||
help
|
||||
This option enables Vulkan support.
|
||||
|
||||
config BR2_PACKAGE_QT6BASE_LINUXFB
|
||||
bool "linuxfb support"
|
||||
|
||||
|
@ -127,6 +127,13 @@ QT6BASE_CONF_OPTS += \
|
||||
-DFEATURE_vulkan=OFF
|
||||
QT6BASE_DEPENDENCIES += freetype
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_VULKAN),y)
|
||||
QT6BASE_DEPENDENCIES += vulkan-headers vulkan-loader
|
||||
QT6BASE_CONFIGURE_OPTS += -DFEATURE_vulkan=ON
|
||||
else
|
||||
QT6BASE_CONFIGURE_OPTS += -DFEATURE_vulkan=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT6BASE_LINUXFB),y)
|
||||
QT6BASE_CONF_OPTS += -DFEATURE_linuxfb=ON
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user