关于B2G:http://wiki.mozilla.org/B2G
底层是基于Android
编译条件:
Linux
- A 64 bit linux distro
- Seehttp://source.android.com/source/initializing.htmlon configuring USB access.
- 20GB of free disk space
- autoconf-2.13
- git
- ccache
- gcc/g++4.6.3 or older
- bison
- flex
- 32bit ncurses
- 32bit zlib
- make
OSX
- XCode
- 20GB of free space
- homebrew
- git (if not using XCode 4)
- gpg
- ccache
- autoconf-2.13 - brew installhttps://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
复制
git clone git://github.com/UnitedDev/B2G.git
HTC G1也就是:dream_sapphire
./config dream_sapphire
中间会要求你输入名字及邮箱。
这个过程将会持续很久。
Building
./build.sh
./make-bacon.sh
附带XDA上的下载: Dream_Sapphire