From: Mirko Vogt Date: Wed, 11 Feb 2009 01:19:26 +0000 (+0000) Subject: add touchscreen calibration file for Openmoko GTA02 "Freerunner" X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=35e302b958a3209ae409bca37c9405a24db551c7;p=openwrt%2Fsvn-archive%2Farchive.git add touchscreen calibration file for Openmoko GTA02 "Freerunner" SVN-Revision: 14472 --- diff --git a/Xorg/driver/xf86-input-tslib/Makefile b/Xorg/driver/xf86-input-tslib/Makefile index d7a8e4b3b7..598a772d2c 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 0000000000..841ec7fab2 Binary files /dev/null and b/Xorg/driver/xf86-input-tslib/files/pointercal.om_gta02 differ