Skip to contentSkip to conversation

package/mesa3d: Fix header version dependency for Vulkan Intel driver

PATCH New Bernd Kuhls 2 participants 2 messages Oct 3, 2018 – Oct 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mesa3d: Fix header version dependency for Vulkan Intel driver

memfd.h was included in kernel 3.17, not 3.18.

---
 package/mesa3d/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/mesa3d/Config.in +3 -3
index 8b171b0d7f..872859b693 100644
@@ -217,7 +217,7 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
 	bool "Vulkan Intel driver"
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libxshmfence
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # memfd.h
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h
 	depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert
 	depends on BR2_PACKAGE_XORG7 # xorgproto
 	select BR2_PACKAGE_MESA3D_VULKAN_DRIVER
@@ -226,10 +226,10 @@ config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL
 	help
 	  Vulkan driver for Intel hardware from Ivy Bridge onward.
 
-comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.18"
+comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.17"
 	depends on BR2_i386 || BR2_x86_64
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 || \
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \
 		!BR2_TOOLCHAIN_USES_GLIBC || !BR2_PACKAGE_XORG7
 
 comment "Off-screen Rendering"
Signature · 1 line
2.19.0
#1 lore raw

PATCH 1/1 package/mesa3d: Fix header version dependency for Vulkan Intel driver

Hello,

Quoted 6 lines · Bernd Kuhls

memfd.h was included in kernel 3.17, not 3.18.

---
 package/mesa3d/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com