这是官方提供的:
sudo apt-get update
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev valgrind libreadline5-dev sharutils uboot-mkimage default-jdk
sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib lib32ncurses5-dev ia32-libs lib32readline5-dev lib32z-dev
和一般的android系统相比,以下是rockchip额外需要的插件:
1. sudo apt-get install valgrind libreadline5-dev sharutils
上面这个安装是为了编译rockchip kernel用的,否则当编译kernel前make clean后再编译kernel会导致无法编译通过。
2. sudo apt-get install uboot-mkimage
在ubuntu 11.10上没有libreadline5-dev
$ sudo apt-get install libreadline5-dev
Readingpackage lists...Done
Building dependency tree
Reading state information...Done
Package libreadline5-dev isnot available, but is referred to by another package.
This may mean that the packageis missing, has been obsoleted,or
is only available from another source
However the following packages replace it:
libreadline-gplv2-dev lib64readline-gplv2-dev
E:Package'libreadline5-dev' has no installation candidate