From ee116c765c44c998a53c0483acaec8605fb5d8cb Mon Sep 17 00:00:00 2001 From: mirko Date: Wed, 11 Feb 2009 01:19:26 +0000 Subject: [PATCH] add touchscreen calibration file for Openmoko GTA02 "Freerunner" git-svn-id: svn://svn.openwrt.org/openwrt/packages@14472 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Xorg/driver/xf86-input-tslib/Makefile | 11 ++++++++++- .../xf86-input-tslib/files/pointercal.om_gta02 | Bin 0 -> 46 bytes 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Xorg/driver/xf86-input-tslib/files/pointercal.om_gta02 diff --git a/Xorg/driver/xf86-input-tslib/Makefile b/Xorg/driver/xf86-input-tslib/Makefile index d7a8e4b3b..598a772d2 100644 --- a/Xorg/driver/xf86-input-tslib/Makefile +++ b/Xorg/driver/xf86-input-tslib/Makefile @@ -21,6 +21,10 @@ PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +ifeq ($(CONFIG_TARGET_s3c24xx),y) + TS_POINTERCAL=om_gta02 +endif + define Package/xf86-input-tslib SECTION:=xorg-driver CATEGORY:=Xorg @@ -31,10 +35,15 @@ define Package/xf86-input-tslib endef define Package/xf86-input-tslib/install - $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input + $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input $(1)/etc $(INSTALL_DATA) \ $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/tslib_drv.so \ $(1)/usr/lib/xorg/modules/input/ + $(if $(TS_POINTERCAL), \ + $(INSTALL_DATA) \ + ./files/pointercal.$(TS_POINTERCAL) \ + $(1)/etc/pointercal \ + ) endef $(eval $(call BuildPackage,xf86-input-tslib)) diff --git a/Xorg/driver/xf86-input-tslib/files/pointercal.om_gta02 b/Xorg/driver/xf86-input-tslib/files/pointercal.om_gta02 new file mode 100644 index 0000000000000000000000000000000000000000..841ec7fab2e8e37afeb8c3afa1626a62d8fd1543 GIT binary patch literal 46 ucmV~$u>k-e3<5A`uiya(XrcQ5VcS<-WN1%w#i;F_+%Gw{#l?a0X literal 0 HcmV?d00001