dud*_*gke 5 datastore bitbake
我发现以下内容:
http://www.yoctoproject.org/docs/2.1/bitbake-user-manual/bitbake-user-manual.html#accessing-datastore-variables-using-python
它说:使用"expand = True"扩展价值."扩展"是什么意思?
iks*_*ien 11
很高兴您正在阅读BitBake用户手册,它有助于理解配方语法.
回到你的问题,'expand'意味着如果这个特定的变量值取决于其他一些变量,例如:
B ="架构_ $ {A}"
和A等于"x86",调用:
d.getVar("B",expand = True)
将返回:"architecture_x86",因为变量A已被扩展.
其他一些示例可以在BitBake用户手册第3章中找到.
归档时间:
9 年,10 月 前
查看次数:
5487 次
最近记录:
9 年,8 月 前