aboutsummaryrefslogtreecommitdiff
path: root/package/tslib
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2017-01-14 22:17:28 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-01-16 13:17:20 +0100
commit46d6aa520f2490928f27da716356b00da357cc99 (patch)
treebda75fa87db4b0dac93ab4bf9df354b242b15b6d /package/tslib
parent99c82eda9538f320ff83dcb702215bebe28ed131 (diff)
downloadbuildroot-46d6aa520f2490928f27da716356b00da357cc99.tar.gz
buildroot-46d6aa520f2490928f27da716356b00da357cc99.tar.bz2
tslib: disable raw input plugin under kernel < v3.12
The SYN_CNT input code was added in kernel v3.12. Fixes: http://autobuild.buildroot.net/results/5cd/5cdb9d22092e9222cc7e8fe8dd3936305a5d371d/ http://autobuild.buildroot.net/results/211/2115038caff1e036cbc9dcb5cb6905abe643552a/ http://autobuild.buildroot.net/results/c79/c79de6fdd5cfe406979941790276296b6d1ec0b8/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/tslib')
-rw-r--r--package/tslib/tslib.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/tslib/tslib.mk b/package/tslib/tslib.mk
index d6e66b7239..7f74ca5fed 100644
--- a/package/tslib/tslib.mk
+++ b/package/tslib/tslib.mk
@@ -13,4 +13,8 @@ TSLIB_AUTORECONF = YES
TSLIB_INSTALL_STAGING = YES
TSLIB_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install
+ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12),)
+TSLIB_CONF_OPTS += --disable-input
+endif
+
$(eval $(autotools-package))