05fadfea1d
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>
33 lines
878 B
Makefile
33 lines
878 B
Makefile
################################################################################
|
|
#
|
|
# tslib
|
|
#
|
|
################################################################################
|
|
|
|
TSLIB_VERSION = 1.11
|
|
TSLIB_SITE = https://github.com/kergoth/tslib/releases/download/$(TSLIB_VERSION)
|
|
TSLIB_SOURCE = tslib-$(TSLIB_VERSION).tar.xz
|
|
TSLIB_LICENSE = GPL, LGPL
|
|
TSLIB_LICENSE_FILES = COPYING
|
|
|
|
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_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))
|