基础环境搭建
参考Android源码下载的环境搭建
源码下载
在Android releases | CodeLinaro Wiki上找到需要下载的芯片分支代码。

// 命令模板
repo init --depth=1 -u https://git.codelinaro.org/clo/la/platform/manifest.git -b release -m [manifest] --repo-url=https://git.codelinaro.org/clo/tools/repo.git --repo-branch=qc-stable
比如下载 LA.UM.10.3.r1-01700-sdm845.0 845 android12 分支的开源代码
repo init --depth=1 -u https://git.codelinaro.org/clo/la/platform/manifest.git -b release -m LA.UM.10.3.r1-01700-sdm845.0.xml --repo-url=https://git.codelinaro.org/clo/tools/repo.git --repo-branch=qc-stable
// 执行同步
repo
7688




被折叠的 条评论
为什么被折叠?



