projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add touchscreen calibration file for Openmoko GTA02 "Freerunner"
[openwrt/svn-archive/archive.git]
/
Xorg
/
driver
/
xf86-input-tslib
/
Makefile
diff --git
a/Xorg/driver/xf86-input-tslib/Makefile
b/Xorg/driver/xf86-input-tslib/Makefile
index d7a8e4b3b7c646fe6baa438d448aff22dc607c13..598a772d2c0516ccac3993d85817b6a6ca061bfc 100644
(file)
--- 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
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
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
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/
$(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))
endef
$(eval $(call BuildPackage,xf86-input-tslib))