디렉토리 생성
tslib 설치
$ sudo apt-get update
$ sudo apt-get install m4 autoconf libtool git lib32z1 lib32ncurses5
# 필요한 패키지 설치
$ git clone https://github.com/libts/tslib
$ cd tslib
# tslib build
$ mkdir output
$ ./autogen.sh
# which 명령어 사용하여 툴체인 다운로드 위치 확인
$ which arm-linux-gnueabi-gcc # 32Bit-ARM
# /usr/bin 위치에 있으면 configure 옵션을 따로 설정x
# 다른위치에 존재하면 CROSS_COMPILE 경로 지정
# ex) CC=${PWD}/../Toolchain/gcc-linaro-7.5.0-2019.12-i686_arm-linux-gnueabi
# host의 경우 사용하려는 크로스 컴파일러 prefix는 생성될 라이브러리 디렉토리 위치
$ ./configure --host=arm-linux-gnueabi --prefix=${PWD}/output
$ make
$ make install