meta-cmf-bsp-emulator/conf/layer.conf
2022-10-08 17:22:18
275
{{single.collect_count}}

在这里插入图片描述
第1行,将该layer的路径加入BBPATH变量,从bitbake -e rdk-general-broadband-image的输出可以看到
在这里插入图片描述
第2到第5行,将该layer中的所有recipe文件和recipe附加文件添加到BBFILES变量。从bitbake -e rdk-general-broadband-image的输出可以看到
在这里插入图片描述
第7行将该层的名字加入到BBFILE_COLLECTIONS变量中。BBFILE_COLLECTIONS变量的解释如下

Lists the names of configured layers. These names are used to find the other BBFILE_* variables. Typically, each layer will append its name to this variable in its conf/layer.conf file.

从bitbake -e rdk-general-broadband-image的输出可以看到
在这里插入图片描述

第8行,设置该层的BBFILE_PATTERN,其解释入下

Variable that expands to match files from BBFILES in a particular layer. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer (e.g. BBFILE_PATTERN_emenlow).

第14行,设置该层的LAYERDEPEND,其解释如下

Lists the layers, separated by spaces, on which this recipe depends.An error is produced if any dependency is missing or the version numbers (if specified) do not match exactly. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer

第16行,将conf/include/rdb-bbmasks-emulator.inc文件插入到该文件,其内容为
在这里插入图片描述
BBMASK用于阻止Bitbake处理一些recipe文件和recipe附加文件。

第18行设置daisy的GCC版本

第20和第21行追加功能bluetooth和bluez5到DISTRO_FEATURE变量。

回帖
全部回帖({{commentCount}})
{{item.user.nickname}} {{item.user.group_title}} {{item.friend_time}}
{{item.content}}
{{item.comment_content_show ? '取消' : '回复'}} 删除
回帖
{{reply.user.nickname}} {{reply.user.group_title}} {{reply.friend_time}}
{{reply.content}}
{{reply.comment_content_show ? '取消' : '回复'}} 删除
回帖
收起
没有更多啦~
{{commentLoading ? '加载中...' : '查看更多评论'}}