需要的相关知识点:automake ,git
1、安装automake libtool autoconf git;
sudo apt-get install libtool autoconf automake git
2、git tslib源码;
git clone https://github.com/kergoth/tslib
3、编译安装
(1) ./autogen.sh
此时可能会出现automake的关于subdir-objects的警告,需要修改configure.ac中第7行
AM_INIT_AUTOMAKE(dist-bzip2)
为AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects])
(2) ./configure --host=arm-linux --prefix=/home/zh/nfs/tslib
--host 工具链 --prefix 输出目录
(3) make & make install
4、降挂载到nfs的文件复制到arm板子上相应的位置;