当前位置:网站首页>[Yocto RM]11 - Features
[Yocto RM]11 - Features
2022-07-05 00:30:00 【_山猫】
11 特点
本章提供了可以包含在图像中的已发货机器和发行版功能的参考、可以选择的图像功能的参考以及功能回填的参考。
特性提供了一种机制来确定哪些包应该包含在生成的图像中。发行版可以通过 DISTRO_FEATURES 变量选择他们想要支持的功能,该变量在发行版的配置文件中设置或附加,例如 poky.conf、poky-tiny.conf、poky-lsb.conf 等。机器特性在 MACHINE_FEATURES 变量中设置,该变量在机器配置文件中设置并指定给定机器的硬件特性。
这两个变量结合起来计算出要包含的内核模块、实用程序和其他包。给定的发行版可以支持选定的功能子集,因此如果发行版本身不支持某些机器功能,则可能不包括它们。
您可以用来确定哪些配方正在检查以查看是否包含特定功能的一种方法是通过该功能的元数据进行 grep。这是一个示例,它发现其构建可能基于给定功能而更改的配方:
$ cd poky
$ git grep 'contains.*MACHINE_FEATURES.*feature'
11.1 机器特性
以下项目是您可以与 MACHINE_FEATURES 一起使用的功能。功能与包没有一一对应的关系,它们可以超越简单地控制一个或多个包的安装。有时,一项功能会影响某些配方的构建方式。例如,一项功能可能会确定是否在 do_configure 任务中为特定配方指定了特定配置选项。
此功能列表仅表示 Y
边栏推荐
- The waterfall flow layout demo2 (method 2) used by the uniapp wechat applet (copy and paste can be used without other processing)
- 他做国外LEAD,用了一年时间,把所有房贷都还清了
- Upload avatar on uniapp
- Operator explanation
- "Xiaodeng" domain password policy enhancer in operation and maintenance
- Illustrated network: what is gateway load balancing protocol GLBP?
- Advanced template
- P4408 [NOI2003] 逃学的小孩(树的直径)
- NPM install error forced installation
- Life is changeable, and the large intestine covers the small intestine. This time, I can really go home to see my daughter-in-law...
猜你喜欢
【雅思阅读】王希伟阅读P4(matching2段落信息配对题【困难】)
How many triangles are there in the golden K-line diagram?
2022.07.03(LC_6111_统计放置房子的方式数)
It's too convenient. You can complete the code release and approval by nailing it!
Specification for fs4061a boost 8.4v charging IC chip and fs4061b boost 12.6V charging IC chip datasheet
ORB(Oriented FAST and Rotated BRIEF)
XML的解析
Detailed explanation of openharmony resource management
Safety learning week4
Consolidated expression C case simple variable operation
随机推荐
【雅思阅读】王希伟阅读P4(matching2段落信息配对题【困难】)
积分商城游戏设置的基本要点
What did I pay for it transfer to testing post from confusion to firmness?
基本放大电路的学习
Upload avatar on uniapp
Enterprise application business scenarios, function addition and modification of C source code
[IELTS reading] Wang Xiwei reading P3 (heading)
Safety learning week4
挖财学院开户安全的吗?开户怎么开?
What is the difference between port mapping and port forwarding
js如何实现数组转树
P3304 [SDOI2013]直径(树的直径)
Leetcode70 (Advanced), 322
【路径规划】RRT增加动力模型进行轨迹规划
AcWing164. 可达性统计(拓扑排序+bitset)
abc 258 G - Triangle(bitset)
Hologres Query管理及超时处理
How to use fast parsing to make IOT cloud platform
Distributed base theory
【C】 (written examination questions) pointer and array, pointer