Build Tslib for ARM
Tslib is a linux library for initialising and reading data from a range of touchscreen devices, using standard methods. For more information visit the official Tslib webpage.
1. First we need to get the source code, for example from the git repository:
git clone https://github.com/kergoth/tslib.git
2. Then we configure it:
./configure --prefix=$HOME/dev/tslib_arm --host=arm-linux
You can change the --prefix to were the compiled code will be stored and --host to the right cross-compile toolchain.
3. Finally we compile and install it: