qt5serialbus: depend on toolchain headers >= 3.6
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 18 May 2016 07:45:50 +0000 (09:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 May 2016 13:16:44 +0000 (15:16 +0200)
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/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt5/qt5serialbus/Config.in

index 504141c63f5267830582f6c492e414f35d7d953a..f5b713dbaec3f1fde8ad850a1516048394f7fb08 100644 (file)
@@ -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