tiny4412安卓驱动开发

避过的坑

编译linux3.0版本内核时,报错empty.o库报错时,缺少32位兼容库
解决办法:sudo apt-get update
sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 gtk2-engines-murrine:i386
lib32stdc++6 libxt6:i386 libdbus-glib-1-2:i386 libasound2:i386

编译安卓需要的依赖库:
安装openjdk8,执行以下命令:
1 安装openjdk 8
$ sudo apt-get install ppa:openjdk-r/ppa
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
2 配置openjdk 8为默认java环境

安装依赖包
sudo apt-get install uuid uuid-dev
sudo apt-get install zlib1g-dev liblz-dev
sudo apt-get install liblzo2-2 liblzo2-dev
sudo apt-get install lzop
sudo apt-get install git-core curl
sudo apt-get install u-boot-tools
sudo apt-get install mtd-utils
sudo apt-get install android-tools-fsutils
sudo apt-get install libssl-dev
sudo apt-get install device-tree-compiler

你可能感兴趣的:(Linux驱动)