气质,源于心灵的自信!
全部博文(204)
分类: LINUX
2012-01-02 15:50:03
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl > ~/bin/repo
$ chmod a+x ~/bin/repo
开始同步源码,开始下载源码,下载的时间依你的网速而定。
下载时有时会出现错误,只要重新repo sync即可
下载后编译该系统
<1>初始化环境。
$ source build/envsetup.sh 或者是$ . build/envsetup.sh
编译名字 | 设备 | 注释 |
---|---|---|
full | emulator | fully configured with all languages, apps, input methods |
full_maguro | maguro | full build running on Galaxy Nexus GSM/HSPA+ ("maguro") |
full_panda | panda | full build running on PandaBoard ("panda") |
编译类型 | 注释 |
---|---|
user | limited access; suited for production |
userdebug | like "user" but with root access and debuggability; preferred for debugging |
eng | development configuration with additional debugging tools |
<2>打开4个线程开始编译,这样可以加快编译
$ make -j4