aboutsummaryrefslogtreecommitdiff
path: root/package/tslib
diff options
context:
space:
mode:
authorGravatar Martin Kepplinger <martink@posteo.de>2017-06-07 09:01:00 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-06-07 21:50:10 +0200
commit05fadfea1df4beb2f552343149bacbaea95d5135 (patch)
treecb0800c8b4c37d55cd5498120be2bb209527505f /package/tslib
parent13a6a126fcfbfe63690955f0fb0c3118358049cc (diff)
downloadbuildroot-05fadfea1df4beb2f552343149bacbaea95d5135.tar.gz
buildroot-05fadfea1df4beb2f552343149bacbaea95d5135.tar.bz2
package/tslib: enable statically linked building
tslib can be configured to be built statically linked. So let's add this option. tslib is quite configurable and each module can be selected to be built into the static build. This configuration includes the hardware independent filter modules (obviously), and the Linux evdev input module. This results in a configuration that fully supports multitouch in any combination. Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/tslib')
-rw-r--r--package/tslib/Config.in4
-rw-r--r--package/tslib/tslib.mk12
2 files changed, 12 insertions, 4 deletions
diff --git a/package/tslib/Config.in b/package/tslib/Config.in
index f1de56c121..a2e1e7ff7a 100644
--- a/package/tslib/Config.in
+++ b/package/tslib/Config.in
@@ -1,10 +1,6 @@
config BR2_PACKAGE_TSLIB
bool "tslib"
- depends on !BR2_STATIC_LIBS # dlopen
help
Tslib is a filtering layer for touchscreen panel events.
http://tslib.org
-
-comment "tslib needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
diff --git a/package/tslib/tslib.mk b/package/tslib/tslib.mk
index 87eb5b734f..91ba9db39a 100644
--- a/package/tslib/tslib.mk
+++ b/package/tslib/tslib.mk
@@ -17,4 +17,16 @@ ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6),)
TSLIB_CONF_OPTS += --disable-tools
endif
+ifeq ($(BR2_STATIC_LIBS),y)
+TSLIB_CONF_OPTS += \
+ --enable-input=static \
+ --enable-linear=static \
+ --enable-median=static \
+ --enable-pthres=static \
+ --enable-iir=static \
+ --enable-dejitter=static \
+ --enable-debounce=static \
+ --enable-skip=static
+endif
+
$(eval $(autotools-package))