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>
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
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