1.使用高通的repo
git clone git://codeaurora.org/tools/repo.git
2.把里面的repo放到/opt/bin/下面
并把repo修改权限sudo chmod a+x repo
3.在.bashrc中配置repo的环境变量
4.修改repo中的REPO_URL='git://android.git.kernel.org/tools/repo.git'
为 REPO_URL='git://codeaurora.org/tools/repo.git'
5.只需要使用phthon2就可以下载代码了
中间可能会提示codeaurora.org这个找不到,这个百度下方法即可解决
repo init -u https://source.codeaurora.org/quic/la/platform/manifest.git -b release -m LNX.LA.3.7.3.1-05210-8939.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
中间可能会提示你git的配置,按提示配置即可
然后repo sync的话,会提示需要repo init
此时再执行
repo init -u https://source.codeaurora.org/quic/la/platform/manifest.git -b release -m LNX.LA.3.7.3.1-05210-8939.0.xml
然后再执行
repo sync
FAQ:如何查找高通相应版本?
下载方法:https://wiki.codeaurora.org/xwiki/bin/QAEP/
对应版本查找:https://wiki.codeaurora.org/xwiki/bin/QAEP/release