Skip to contentSkip to conversation

qt5serialbus: depend on toolchain headers >= 3.6

PATCH New yegorslists at googlemail.com 2 participants 2 messages May 18, 2016 – May 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5serialbus: depend on toolchain headers >= 3.6

From: Yegor Yefremov <[email protected]>

qt5serialbus requires CAN FD support, that was introduced in kernel 3.6. Add appropriate toolchain headers dependency.

Fixes:
http://autobuild.buildroot.net/results/617/6176a24799b5d80312be954089efbbb498fa1571/

---
 package/qt5/qt5serialbus/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/qt5/qt5serialbus/Config.in +4 -0
index 504141c..f5b713d 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_QT5SERIALBUS
 	bool "qt5serialbus"
+	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 # CAN FD
 	select BR2_PACKAGE_QT5BASE
 	select BR2_PACKAGE_QT5SERIALPORT
 	help
@@ -9,3 +10,6 @@ config BR2_PACKAGE_QT5SERIALBUS
 	  This package corresponds to the qt5serialbus module.
 
 	  http://qt.io
+
+comment "qt5serialbus needs headers >= 3.6"
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 qt5serialbus: depend on toolchain headers >= 3.6

Hello,

Quoted 5 lines · yegorslists at googlemail.com

From: Yegor Yefremov <[email protected]>

qt5serialbus requires CAN FD support, that was introduced in kernel 3.6. Add appropriate toolchain headers dependency.

Quoted 7 lines

Fixes:
http://autobuild.buildroot.net/results/617/6176a24799b5d80312be954089efbbb498fa1571/

---
 package/qt5/qt5serialbus/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com