Skip to contentSkip to conversation

package/vulkan-headers: bump version to 1.3.262

PATCH Applied Adam Duskett 2 participants 14 messages Aug 30, 2023 – Sep 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 package/vulkan-headers: bump version to 1.3.262

Update the license hash as the license file is now located at LICENSE.md isntead of LICENSE.txt, and add MIT to the list of licenses.

---
 package/vulkan-headers/vulkan-headers.hash | 4 ++--
 package/vulkan-headers/vulkan-headers.mk   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
package/vulkan-headers/vulkan-headers.hash +2 -2
index cf213d8b52..b38bfcff47 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  e3ee02eff07ebcdb0ddfd06366d986c889f3392b6c4d79615bb06aefc1fda900  vulkan-headers-1.3.257.tar.gz
-sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.txt
+sha256  317e467a5fb2eaa6a18b984ec70fdbfaccd93595a3e6f4bcceca7d3fab280505  vulkan-headers-1.3.262.tar.gz
+sha256  ac24e5ea920e4318e4d02c4086ae51f53cfb03feed06c18df1019e7ada1ec7bc  LICENSE.md
package/vulkan-headers/vulkan-headers.mk +3 -3
index c42b005abe..5434f69a40 100644
@@ -4,10 +4,10 @@
 #
 ################################################################################
 
-VULKAN_HEADERS_VERSION = 1.3.257
+VULKAN_HEADERS_VERSION = 1.3.262
 VULKAN_HEADERS_SITE = $(call github,KhronosGroup,Vulkan-Headers,v$(VULKAN_HEADERS_VERSION))
-VULKAN_HEADERS_LICENSE = Apache-2.0
-VULKAN_HEADERS_LICENSE_FILES = LICENSE.txt
+VULKAN_HEADERS_LICENSE = Apache-2.0, MIT
+VULKAN_HEADERS_LICENSE_FILES = LICENSE.md
 VULKAN_HEADERS_INSTALL_STAGING = YES
 
 $(eval $(cmake-package))
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/7 package/vulkan-loader: new package

Use $(VULKAN_HEADERS_VERSION) for VULKAN_LOADER_VERSION as the vulkan packages need to all be the same version.

---
 DEVELOPERS                               |  1 +
 package/Config.in                        |  1 +
 package/vulkan-loader/Config.in          | 14 ++++++++
 package/vulkan-loader/vulkan-loader.hash |  3 ++
 package/vulkan-loader/vulkan-loader.mk   | 45 ++++++++++++++++++++++++
 5 files changed, 64 insertions(+)
 create mode 100644 package/vulkan-loader/Config.in
 create mode 100644 package/vulkan-loader/vulkan-loader.hash
 create mode 100644 package/vulkan-loader/vulkan-loader.mk
DEVELOPERS +1 -0
index 241de082eb..e83b7c1b2b 100644
@@ -28,6 +28,7 @@
 
 N:	Adam Duskett <[email protected]>
 F:	package/firewalld/
+F:	package/vulkan-loader/
 
 N:	Adam Heinrich <[email protected]>
 F:	package/jack1/
package/Config.in +1 -0
index 3d16ea37d1..51c2ee2b3e 100644
@@ -369,6 +369,7 @@ comment "Graphic libraries"
 	source "package/sdl2_ttf/Config.in"
 	source "package/tk/Config.in"
 	source "package/vulkan-headers/Config.in"
+	source "package/vulkan-loader/Config.in"
 
 comment "Other GUIs"
 	source "package/qt5/Config.in"
package/vulkan-loader/Config.in new file +14 -0
new file mode 100644
index 0000000000..9c215dc9ce
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_VULKAN_LOADER
+	bool "vulkan-loader"
+	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS # dlfcn.h
+	depends on BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_PACKAGE_VULKAN_HEADERS
+	help
+	  The Khronos official Vulkan ICD desktop loader.
+
+	  https://github.com/KhronosGroup/Vulkan-Loader
+
+comment "vulkan-loader needs a toolchain w/ C++, dynamic library, threads"
+	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_HAS_THREADS
package/vulkan-loader/vulkan-loader.hash new file +3 -0
new file mode 100644
index 0000000000..e09ecda8a9
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  3bbaa5ee64058a89949eb777de66ce94bfe3141892514172cfc9451c756802d5  vulkan-loader-1.3.262.tar.gz
+sha256  43c0a37e6a0fa7ff3c843b3ec5a4fac84b712558ddac103fbd4c1649662a9ece  LICENSE.txt
package/vulkan-loader/vulkan-loader.mk new file +45 -0

45 lines not on this page · raw message

Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH/next 2/7] package/vulkan-loader: new package

Hello Adam,

Quoted 16 lines · On Wed, 30 Aug 2023 13:54:41 -0600 Adam Duskett <[email protected]> wrote:
package/vulkan-loader/vulkan-loader.hash new file +3 -0
new file mode 100644
index 0000000000..e09ecda8a9
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  3bbaa5ee64058a89949eb777de66ce94bfe3141892514172cfc9451c756802d5  vulkan-loader-1.3.262.tar.gz
+sha256  43c0a37e6a0fa7ff3c843b3ec5a4fac84b712558ddac103fbd4c1649662a9ece  LICENSE.txt
package/vulkan-loader/vulkan-loader.mk new file +1 -0
new file mode 100644
index 0000000000..d87e57ebd4
@@ -0,0 +1,45 @@
+################################################################################

package/vulkan-loader/vulkan-loader.mk line 11

Quoted 10 lines
package/vulkan-loader/vulkan-loader.mk new file +10 -0
+#
+# vulkan-loader
+#
+################################################################################
+
+VULKAN_LOADER_VERSION = $(VULKAN_HEADERS_VERSION)
+VULKAN_LOADER_SITE = $(call github,KhronosGroup,Vulkan-Loader,v$(VULKAN_LOADER_VERSION))
+VULKAN_LOADER_LICENSE = Apache-2.0
+VULKAN_LOADER_LICENSE_FILES = LICENSE.txt
++VULKAN_LOADER_INSTALL_STAGING = YES

^^^ typo here, there was a "+" at the beginning of the line. Funnily, make did not complain about this, and just ignored this line, so vulkan-loader was not installed into staging.

I fixed that and applied to next. However, could you have a look at whether we need to keep /usr/share/vulkan/registry/? It contains JSON/Python stuff, I don't think it's useful at runtime?

Also, what is /usr/share/vulkan/icd.d/ ? I see there's an ICD tool in vulkan-tools. Is that related? Needed on the target?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

PATCH 3/7 package/vulkan-tools: new package

In reply to Adam Duskett

Use $(VULKAN_HEADERS_VERSION) for VULKAN_TOOLS_VERSION as the vulkan packages need to all be the same version.

---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/vulkan-tools/Config.in         | 17 ++++++++++
 package/vulkan-tools/vulkan-tools.hash |  3 ++
 package/vulkan-tools/vulkan-tools.mk   | 47 ++++++++++++++++++++++++++
 5 files changed, 69 insertions(+)
 create mode 100644 package/vulkan-tools/Config.in
 create mode 100644 package/vulkan-tools/vulkan-tools.hash
 create mode 100644 package/vulkan-tools/vulkan-tools.mk
DEVELOPERS +1 -0
index e83b7c1b2b..3c2187afac 100644
@@ -29,6 +29,7 @@
 N:	Adam Duskett <[email protected]>
 F:	package/firewalld/
 F:	package/vulkan-loader/
+F:	package/vulkan-tools/
 
 N:	Adam Heinrich <[email protected]>
 F:	package/jack1/
package/Config.in +1 -0
index 51c2ee2b3e..5fa34b1f0d 100644
@@ -370,6 +370,7 @@ comment "Graphic libraries"
 	source "package/tk/Config.in"
 	source "package/vulkan-headers/Config.in"
 	source "package/vulkan-loader/Config.in"
+	source "package/vulkan-tools/Config.in"
 
 comment "Other GUIs"
 	source "package/qt5/Config.in"
package/vulkan-tools/Config.in new file +17 -0
new file mode 100644
index 0000000000..54fa539dab
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_VULKAN_TOOLS
+	bool "vulkan-tools"
+	depends on BR2_INSTALL_LIBSTDCPP # vulkan-loader
+	depends on !BR2_STATIC_LIBS # vullan-loader
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+	depends on BR2_TOOLCHAIN_HAS_THREADS # vulkan-loader
+	select BR2_PACKAGE_VULKAN_HEADERS
+	select BR2_PACKAGE_VULKAN_LOADER
+
+	help
+	  The Khronos official Vulkan Tools and Utilities.
+
+	  https://github.com/KhronosGroup/Vulkan-Tools
+
+comment "vulkan-tools needs a toolchain w/ C++, dynamic library, threads, gcc >= 4.9"
+	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
package/vulkan-tools/vulkan-tools.hash new file +3 -0
new file mode 100644
index 0000000000..24c0697784
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  8c77d02694d0516ae2ba3f3718745647e87e788ef93faabb2e3674ff32608010  vulkan-tools-1.3.262.tar.gz
+sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  LICENSE.txt
package/vulkan-tools/vulkan-tools.mk new file +47 -0

47 lines not on this page · raw message

Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

Re: [Buildroot] [PATCH/next 3/7] package/vulkan-tools: new package

Quoted 4 lines · On Wed, 30 Aug 2023 13:54:42 -0600 Adam Duskett <[email protected]> wrote:

Use $(VULKAN_HEADERS_VERSION) for VULKAN_TOOLS_VERSION as the vulkan packages need to all be the same version.

Quoted 10 lines
---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/vulkan-tools/Config.in         | 17 ++++++++++
 package/vulkan-tools/vulkan-tools.hash |  3 ++
 package/vulkan-tools/vulkan-tools.mk   | 47 ++++++++++++++++++++++++++
 5 files changed, 69 insertions(+)
 create mode 100644 package/vulkan-tools/Config.in
 create mode 100644 package/vulkan-tools/vulkan-tools.hash
 create mode 100644 package/vulkan-tools/vulkan-tools.mk

Applied to next, thanks. I was initially surprised that only vulkaninfo gets installed but indeed you disable everything else (cube, icd, etc.).

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

PATCH 4/7 package/mesa3d: add vulkan broadcom driver support

In reply to Adam Duskett
---
 package/mesa3d/Config.in | 10 ++++++++++
 package/mesa3d/mesa3d.mk |  1 +
 2 files changed, 11 insertions(+)
package/mesa3d/Config.in +10 -0
index c7ee2a8db0..a32fce755f 100644
@@ -299,6 +299,16 @@ comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeo
 
 comment "Vulkan drivers"
 
+config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM
+	bool "Vulkan broadcom driver"
+	depends on BR2_arm || BR2_aarch64
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # dri3/libxshmfence
+	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_MESA3D_OPENGL_GLX
+	select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
+	help
+	  Vulkan broadcom driver.
+
 config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
 	bool "Vulkan Intel driver"
 	depends on BR2_i386 || BR2_x86_64
package/mesa3d/mesa3d.mk +1 -0
index 8f3d224417..67573909a3 100644
@@ -119,6 +119,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D)      += v3d
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4)      += vc4
 MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL)    += virgl
 # Vulkan Drivers
+MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM) += broadcom
 MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL)   += intel
 
 ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),)
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH/next 4/7] package/mesa3d: add vulkan broadcom driver support

package/mesa3d/Config.in comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeo · line 306

Quoted 5 lines · On Wed, 30 Aug 2023 13:54:43 -0600 Adam Duskett <[email protected]> wrote:
package/mesa3d/Config.in +5 -0
+config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM
+	bool "Vulkan broadcom driver"
+	depends on BR2_arm || BR2_aarch64
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # dri3/libxshmfence
+	select BR2_PACKAGE_EXPAT

This was not needed, expat is globally selected by mesa3d.

package/mesa3d/Config.in comment "Gallium VDPAU state tracker needs X.org and gallium drivers r600, radeo · line 307

Quoted 1 line
package/mesa3d/Config.in +1 -0
+	select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_MESA3D_OPENGL_GLX

Changed to ... if BR2_PACKAGE_XORG7, like is done for all other drivers.

Applied to next with those changes.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw

PATCH 5/7 package/mesa3d: add vulkan swrast driver support

In reply to Adam Duskett
---
 package/mesa3d/Config.in | 10 ++++++++++
 package/mesa3d/mesa3d.mk |  1 +
 2 files changed, 11 insertions(+)
package/mesa3d/Config.in +10 -0
index a32fce755f..0340b972e4 100644
@@ -326,6 +326,16 @@ comment "intel vulkan needs a glibc toolchain w/ headers >= 3.17"
 	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \
 		!BR2_TOOLCHAIN_USES_GLIBC
 
+config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST
+	bool "Vulkan swrast driver"
+	depends on BR2_PACKAGE_MESA3D_LLVM
+	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER
+	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
+	select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
+	help
+	  Vulkan swrast driver.
+
 comment "Off-screen Rendering"
 
 config BR2_PACKAGE_MESA3D_OSMESA_GALLIUM
package/mesa3d/mesa3d.mk +1 -0
index 67573909a3..f86140f17e 100644
@@ -121,6 +121,7 @@ MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL)    += virgl
 # Vulkan Drivers
 MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_BROADCOM) += broadcom
 MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL)   += intel
+MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST) += swrast
 
 ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),)
 MESA3D_CONF_OPTS += \
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw

Re: [Buildroot] [PATCH/next 5/7] package/mesa3d: add vulkan swrast driver support

Hello,

package/mesa3d/Config.in comment "intel vulkan needs a glibc toolchain w/ headers >= 3.17" · line 332

Quoted 4 lines · On Wed, 30 Aug 2023 13:54:44 -0600 Adam Duskett <[email protected]> wrote:
package/mesa3d/Config.in +4 -0
+config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_SWRAST
+	bool "Vulkan swrast driver"
+	depends on BR2_PACKAGE_MESA3D_LLVM
+	select BR2_PACKAGE_EXPAT

Not needed, this is selected globally by mesa3d.

package/mesa3d/Config.in comment "intel vulkan needs a glibc toolchain w/ headers >= 3.17" · line 333

Quoted 1 line
package/mesa3d/Config.in +1 -0
+	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER

Not needed, this is selected by BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST, and it makes more sense to have it selected by BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST.

package/mesa3d/Config.in comment "intel vulkan needs a glibc toolchain w/ headers >= 3.17" · line 338

Quoted 5 lines
package/mesa3d/Config.in +5 -0
+	select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST
+	select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
+	help
+	  Vulkan swrast driver.
+

Applied to next with those changes. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw

PATCH 6/7 package/qt5base: add vulkan option

In reply to Adam Duskett

Notes:
- eglfs/vulkan is only implemented for eglfs_viv
(see stub implementation for QEglFSDeviceIntegration::createPlatformVulkanInstance() in src/plugins/platforms/eglfs/api/qeglfsdeviceintegration.cpp and real implementation for QEglFSVivIntegration::createPlatformVulkanInstance() in src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/qeglfsvivintegration.cpp)
- or for xcb (see QXcbIntegration::createPlatformVulkanInstance()
in src/plugins/platforms/xcb/qxcbintegration.cpp)

---
 package/qt5/qt5base/Config.in  | 10 ++++++++++
 package/qt5/qt5base/qt5base.mk |  7 +++++++
 2 files changed, 17 insertions(+)
package/qt5/qt5base/Config.in +10 -0
index b876f1948e..0c7ed41c46 100644
@@ -180,6 +180,16 @@ config BR2_PACKAGE_QT5BASE_OPENGL_LIB
 
 endif
 
+config BR2_PACKAGE_QT5BASE_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_QT5BASE_LINUXFB
 	bool "linuxfb support"
 
package/qt5/qt5base/qt5base.mk +7 -0
index 028236d2ed..cc29f5523f 100644
@@ -206,6 +206,13 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-opengl
 endif
 
+ifeq ($(BR2_PACKAGE_QT5BASE_VULKAN),y)
+QT5BASE_CONFIGURE_OPTS += -feature-vulkan
+QT5BASE_DEPENDENCIES   += vulkan-headers vulkan-loader
+else
+QT5BASE_CONFIGURE_OPTS += -no-feature-vulkan
+endif
+
 QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA))
 QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA))
 
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#10 lore raw

Re: [Buildroot] [PATCH/next 6/7] package/qt5base: add vulkan option

Quoted 8 lines · On Wed, 30 Aug 2023 13:54:45 -0600 Adam Duskett <[email protected]> wrote:

Notes:
- eglfs/vulkan is only implemented for eglfs_viv
(see stub implementation for QEglFSDeviceIntegration::createPlatformVulkanInstance() in src/plugins/platforms/eglfs/api/qeglfsdeviceintegration.cpp and real implementation for QEglFSVivIntegration::createPlatformVulkanInstance() in src/plugins/platforms/eglfs/deviceintegration/eglfs_viv/qeglfsvivintegration.cpp)
- or for xcb (see QXcbIntegration::createPlatformVulkanInstance()
in src/plugins/platforms/xcb/qxcbintegration.cpp)

Quoted 5 lines
---
 package/qt5/qt5base/Config.in  | 10 ++++++++++
 package/qt5/qt5base/qt5base.mk |  7 +++++++
 2 files changed, 17 insertions(+)

Applied to next, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#11 lore raw

PATCH 7/7 package/qt6base: add vulkan option

In reply to Adam Duskett
---
 package/qt6/qt6base/Config.in  | 10 ++++++++++
 package/qt6/qt6base/qt6base.mk |  7 +++++++
 2 files changed, 17 insertions(+)
package/qt6/qt6base/Config.in +10 -0
index f9fb2a2ad0..98a7520486 100644
@@ -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"
 
package/qt6/qt6base/qt6base.mk +7 -0
index 4a01bb17b2..c32089f551 100644
@@ -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
Signature · 6 lines
2.41.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#12 lore raw

Re: [Buildroot] [PATCH vnext 7/7] package/qt6base: add vulkan option

Quoted 5 lines · On Wed, 30 Aug 2023 13:54:46 -0600 Adam Duskett <[email protected]> wrote:
---
 package/qt6/qt6base/Config.in  | 10 ++++++++++
 package/qt6/qt6base/qt6base.mk |  7 +++++++
 2 files changed, 17 insertions(+)

Applied to next, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#13 lore raw
In reply to Adam Duskett
Quoted 8 lines · On Wed, 30 Aug 2023 13:54:40 -0600 Adam Duskett <[email protected]> wrote:

Update the license hash as the license file is now located at LICENSE.md isntead of LICENSE.txt, and add MIT to the list of licenses.

---
 package/vulkan-headers/vulkan-headers.hash | 4 ++--
 package/vulkan-headers/vulkan-headers.mk   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

Applied to next, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot