Menu Home

android

移植tslib到Android

移植tslib到Android 环境变量 export env export TSLIB_TSEVENTTYPE=INPUT export TSLIB_TSDEVICE=/dev/input/event4 export TSLIB_CALIBFILE=/system/etc/pointercal export TSLIB_CONFFILE=/system/etc/ts.conf export TSLIB_PLUGINDIR=/system/lib/ts/plugs export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_CONSOLEDEVICE=none export TSTS_INFO_FILE=/sys/devices/virtual/input/input1/uevent export QWS_MOUSE_PROTO=tslib:/dev/input/event4 交叉编译过程中的问题 arm-eabi/bin/ld: crt0.o: No such file: No such file or directory 解决:configure加 CFLAGS=”-nostdlib” 我的Android.mk ,测试通过 LOCAL_PATH:=$(call my-dir) include $(CLEAR_VARS) TSLIB_PLUGINDIR:=/system/lib/ts/plugins LOCAL_SRC_FILES:=\ src/ts_attach.c\ src/ts_close.c \ src/ts_config.c \ src/ts_error.c \ […]