关于B2G:http://wiki.mozilla.org/B2G
底层是基于Android
编译条件:
Linux
-
A 64 bit linux distro
-
See http://source.android.com/source/initializing.html on
configuring USB access.
-
See http://source.android.com/source/initializing.html on
- 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 install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
详细可见:https://github.com/UnitedDev/B2G
复制
git clone git://github.com/UnitedDev/B2G.git
配置
HTC G1也就是:dream_sapphire
./config dream_sapphire
中间会要求你输入名字及邮箱。
这个过程将会持续很久。
Building
./build.sh
./make-bacon.sh
附带XDA上的下载:Dream_Sapphire