0
点赞
收藏
分享

微信扫一扫

Yocto中函数间隔_转为:的原因

凌得涂 2022-09-17 阅读 140


从Yocto honister3.4之后,Yocto中local.conf和bb文件中的append和append函数命名产生了变化。由原来的​​IMAGE_INSTALL_append +=​​​ 变为了​​IMAGE_INSTALL:append =​​​ ,​​do_install_append()​​​变为了​​do_install:append()​​。

新语法说明:

​​appending-and-prepending-override-style-syntax​​

语法变更记录:

​​override-syntax-changes​​

变更的原因:

There are some variables which do not use override syntax which include the suffix to variables in layer.conf files such as BBFILE_PATTERN, SRCREV_xxx where xxx is a name from SRC_URI and PREFERRED_VERSION_xxx. In particular, layer.conf suffixes may be the same as a DISTRO override causing some confusion. We do plan to try and improve consistency as these issues are identified.
有一些变量不使用覆盖语法,其中包括layer.conf文件中变量的后缀,例如BBFILE_PATTERN、 SRCREV_xxx,其中xxx是来自SRC_URI和 PREFERRED_VERSION_xxx的名称。特别是,layer.conf后缀可能与DISTRO覆盖相同,从而导致一些混淆。 随着这些问题的确定,我们确实计划尝试提高一致性。


举报

相关推荐

0 条评论