再向repo清单添加一个源

时间:2017-11-13 22:04:19

标签: yocto repo

我需要为Xilinx FPGA构建映像。关注these directions。一切正常,我设法建立它。现在我需要添加一个额外的图层。我认为我需要做的就是修改。repo/manifests/default.xml(添加此图层,https://github.com/sbabic/meta-swupdate/tree/rocko)然后执行

repo sync

但是我收到错误,说结帐时会覆盖对大量文件的更改(这些是已构建的文件)。

那么如何在当前环境中添加图层并使用新图层重建而不实际重建整个图层?

1 个答案:

答案 0 :(得分:1)

cd ./sources/
git clone https://github.com/sbabic/meta-swupdate.git
cd ../conf/
vi ./bblayers.conf
add **{BSPDIR}/sources/meta-swupdate \** before (")
vi ./local.conf
add **IMAGE_INSTALL_append = " swupdate" **
bitbake 

如何添加图层示例:https://www.youtube.com/watch?v=3HsaoVqX7dg