cyanogenmod源代码下载编译笔记

1.在cygwin环境下下载源代码

1)cygwin下进入工程目录,建立cyanogenmod目录

2)进入cyanogenmod目录,下载repo文件

现在repo已经迁移到google服务器,

wget https://dl-ssl.google.com/dl/googlesource/git-repo/repo > /usr/local/bin/repo

提示error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed 

关闭git的SSL检测

git config --global http.sslVerify false

再执行wget下载,成功。

3)repo init -u git://github.com/CyanogenMod/manifest.git -b gingerbread

如果是android源代码,则是

repo init -u https://android.googlesource.com/platform/manifestrepo

cygwin出错,Resource temporarily unavailable。

退出cygwin,找到cygwin目录下的ash.exe,双击运行。执行shell命令

/bin/rebaseall

执行完毕,重新进入cygwin,重新repo init,应该能正常执行了。

4)repo sync来获取源代码

posted on 2011-10-24 09:50  windviki  阅读(880)  评论(1编辑  收藏  举报