Android Source Code Download
2010-04-12 03:42:00 来源:WEB开发网< copyfile src="core/root.mk" dest="Makefile" / >
< /project>
< project path="kernel"
name="kernel/common"
revision="refs/heads/android-2.6.27" / >
< project path="bionic" name="platform/bionic" / >
< project path="bootable/bootloader/legacy" name="platform/bootable/bootloader/legacy" / >
< project path="bootable/diskinstaller" name="platform/bootable/diskinstaller" / >
< project path="bootable/recovery" name="platform/bootable/recovery" / >
... ...
在网关内部使用需要设置代理:
新建如下文件:
#!/bin/sh
# /home/justin/android/bin/socks-gw.sh
# This script connects to a HTTP proxy using connect.c
connect -H wwwgate.freeshell.net:8080 $@
#!/bin/sh
# /home/justin/android/bin/socks-ssh.sh
ssh -o ProxyCommand="/home/justin/android/bin/socks-gw.sh %h %p" $@
增加这两个文件的可执行权限:
chmod a+x /home/justin/android/bin/socks-ssh.sh
chmod a+x /home/justin/android/bin/socks-gw.sh
可以将所有代理的环境变量放在:
#!/bin/sh
# /home/justin/proxy.sh
# http proxy setting
export HTTP_PROXY=http://wwwgate.freeshell.net:8080
export http_proxy=$HTTP_PROXY
# set git to use ssh over http proxy
export GIT_SSH="/home/justin/android/bin/socks-ssh.sh"
export GIT_PROXY_COMMAND="/home/justin/android/bin/socks-gw.sh"
需要的时候运行:
. ~/proxy.sh
TOP编译Android平台以及SDK
TOP完全编译
TOP编译映像
cd ~/android/src
make
映像编译成功后会在目录 de> ~/android/src/out/target/product/generic de> 下产生一些image文件
ramdisk.img system.img userdata.img android-info.txt
验证,运行这些模块:
更多精彩
赞助商链接