add touchscreen calibration file for Openmoko GTA02 "Freerunner"
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14472 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0ffc7d58c5
commit
ee116c765c
@ -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
|
define Package/xf86-input-tslib
|
||||||
SECTION:=xorg-driver
|
SECTION:=xorg-driver
|
||||||
CATEGORY:=Xorg
|
CATEGORY:=Xorg
|
||||||
@ -31,10 +35,15 @@ define Package/xf86-input-tslib
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/xf86-input-tslib/install
|
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) \
|
$(INSTALL_DATA) \
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/tslib_drv.so \
|
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/tslib_drv.so \
|
||||||
$(1)/usr/lib/xorg/modules/input/
|
$(1)/usr/lib/xorg/modules/input/
|
||||||
|
$(if $(TS_POINTERCAL), \
|
||||||
|
$(INSTALL_DATA) \
|
||||||
|
./files/pointercal.$(TS_POINTERCAL) \
|
||||||
|
$(1)/etc/pointercal \
|
||||||
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,xf86-input-tslib))
|
$(eval $(call BuildPackage,xf86-input-tslib))
|
||||||
|
BIN
Xorg/driver/xf86-input-tslib/files/pointercal.om_gta02
Normal file
BIN
Xorg/driver/xf86-input-tslib/files/pointercal.om_gta02
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user