tslib: needs kernel headers 3.12
authorBaruch Siach <baruch@tkos.co.il>
Thu, 19 Jan 2017 12:50:47 +0000 (14:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 19 Jan 2017 14:02:22 +0000 (15:02 +0100)
Kernel headers 3.12+ are required since tslib version 1.3.

https://github.com/kergoth/tslib/blob/master/README.markdown

Update tslib reverse dependencies.

Fixes:
http://autobuild.buildroot.net/results/28d/28df38e2a042f1b5940bf35c18334ebf8810a348/
http://autobuild.buildroot.net/results/c38/c383cfee3673aa9fba36a86f1e68de63413c2987/
http://autobuild.buildroot.net/results/6dd/6ddb2cd9f4f41ee03dc10a73422ad37070811732/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/directfb/Config.in
package/qt/Config.mouse.in
package/qt5/qt5base/Config.in
package/tslib/Config.in
package/x11r7/xdriver_xf86-input-tslib/Config.in

index b5521647772da82b120a258984a9e4cbe85729da..35c0309a6f3684cfbed9cf6e6650d4687354ed51 100644 (file)
@@ -113,11 +113,12 @@ config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
 config BR2_PACKAGE_DIRECTFB_TSLIB
        bool "enable touchscreen support"
        depends on !BR2_STATIC_LIBS # tslib
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib
        default y
        select BR2_PACKAGE_TSLIB
 
-comment "touchscreen support needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "touchscreen support needs a toolchain w/ dynamic library, headers >= 3.12"
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
 
 config BR2_PACKAGE_DIRECTFB_GIF
        bool "enable GIF support"
index 11da956f62f6eab0eb41363c65957b8e893606c8..f15f8d5f56811b5a41b3e5e95831d97740c7b4a6 100644 (file)
@@ -13,9 +13,10 @@ config BR2_PACKAGE_QT_MOUSE_TSLIB
        bool "tslib"
        select BR2_PACKAGE_TSLIB
        depends on !BR2_STATIC_LIBS # tslib
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib
 
-comment "tslib support needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "tslib support needs a toolchain w/ dynamic library, headers >= 3.12"
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
 
 config BR2_PACKAGE_QT_MOUSE_QVFB
        bool "qvfb"
index 7244fbedc68ff453b988cf23e8edd4bbeb8e84bd..ad95138380c7b870437a80fa80f715c4c60c765d 100644 (file)
@@ -267,11 +267,12 @@ config BR2_PACKAGE_QT5BASE_ICU
 config BR2_PACKAGE_QT5BASE_TSLIB
        bool "Enable Tslib support"
        depends on !BR2_STATIC_LIBS # dlopen
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib
        select BR2_PACKAGE_TSLIB
        help
          This options enables the Tslib plugin
 
-comment "tslib support needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "tslib support needs a toolchain w/ dynamic library, headers >= 3.12"
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
 
 endif
index 050588e834d4c2c444249557095c2934d50363fa..6b86ebc4c97f54493c4563f1c13a75fe5c1f09d5 100644 (file)
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_TSLIB
        bool "tslib"
        depends on !BR2_STATIC_LIBS # dlopen
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
        help
          Tslib is an abstraction layer for touchscreen panel events.
 
          https://github.com/kergoth/tslib
 
-comment "tslib needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "tslib needs a toolchain w/ dynamic library, headers >= 3.12"
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
index 9c6e2961537c70e4eac1409403eda4d3f73e2f0d..79b739686ec38675ed03f3b2887178e6a634282a 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB
        bool "xf86-input-tslib"
        depends on !BR2_STATIC_LIBS # tslib
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # tslib
        select BR2_PACKAGE_XPROTO_INPUTPROTO
        select BR2_PACKAGE_XPROTO_RANDRPROTO
        select BR2_PACKAGE_XPROTO_XPROTO
@@ -10,5 +11,5 @@ config BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB
 
          http://www.ptxdist.org/software/xf86-input-tslib/index_en.html
 
-comment "xf86-input-tslib needs a toolchain w/ dynamic library"
-       depends on BR2_STATIC_LIBS
+comment "xf86-input-tslib needs a toolchain w/ dynamic library, headers >= 3.12"
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12