Z-Pocket Game Pro(ZPG Pro)

build libdrm-rockchip


步驟如下:

$ export TARGETMACH=arm-linux
$ export BUILDMACH=i686-pc-linux-gnu-
$ export CROSS=arm-linux-gnueabihf-
$ export CC=${CROSS}gcc
$ export LD=${CROSS}ld
$ export AS=${CROSS}as
$ export CXX=${CROSS}g++

$ git clone https://github.com/rockchip-linux/libdrm-rockchip
$ cd libdrm-rockchip
$ ./autogen.sh
$ ./configure --prefix=/usr/arm-linux-gnueabihf --host=arm-linux --enable-rockchip-experimental-api
$ make -j4


返回上一頁