Repo 管理工程
关键词: yocto repo imx bsp git
repo是基于git的仓库管理工具,是一个python脚本程序。
repo不单单是用于Andoid,只要是多个git工程都能使用。
yocto工程中经常会涉及到多个git工程,
这里演示如何使用repo来管理yocto中的多个BSP。
主要内容:
- 使用repo来管理yocto的多个BSP
文档参考:
最新文档 https://taotaodiy-linux.readthedocs.io/en/latest/env/repo.html
安装 repo
#install repo. This only needs to be done once.
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
export PATH=~/bin:$PATH
创建manifest仓库
我们创建一个仓库manifest,在仓库下面添加default.xml文件,
git仓库建立参考