[英]How Yocto handle multiple .bbappend with the same name?
For example, I am having meta-A/test.bbappend and meta-A/test.bbappend files.例如,我有 meta-A/test.bbappend 和 meta-A/test.bbappend 文件。
meta-A/test.bbappend priority 10 meta-A/test.bbappend 优先级 10
SAME_VAR = "a"
meta-B/test.bbappend priority 5 meta-B/test.bbappend 优先级 5
SAME_VAR = "b"
DIFF_VAR = "b"
I think SAME_VAR
will be "a"
but what about DIFF_VAR
?我认为SAME_VAR
将是"a"
,但DIFF_VAR
呢? Would meta-B/test.bbappend
be completely ignored due to lower priority?由于优先级较低, meta-B/test.bbappend
会被完全忽略吗?
Every layer has its own priority defined in conf/layer.conf
as BBFILE_PRIORITY
variable.每个层都有自己的优先级,在conf/layer.conf
中定义为BBFILE_PRIORITY
变量。 Priority of the layer defines in which order .bbappend
files will append on original .bb
.层的优先级定义了.bbappend
文件在原始.bb
上的 append 的顺序。
You can check all layers in your project with您可以检查项目中的所有图层
bitbake-layers show-layers bitbake-layers 显示层
and you will also see the priorities.您还将看到优先事项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.