如何在Yocto/Bitbake的另一个配方中引用/找到一个配方的$ {PV}? [英] How can I reference/find the ${PV} of one recipe in another recipe in Yocto/Bitbake?

查看:210
本文介绍了如何在Yocto/Bitbake的另一个配方中引用/找到一个配方的$ {PV}?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个配方,需要知道另一个配方的版本字符串/信息.基本上,我想扩展其他配方的PV变量.最简单的方法是什么?我在想,也许我可以在食谱中使用bb python函数来解析其他食谱并找到它的PV.

I have a recipe that needs to know the version string/information of another recipe. Basically I want to expand the PV variable of a different recipe. What would be the easiest way to do this? I was thinking maybe there is a bb python function I can use in my recipe to parse the other recipe and find it's PV.

推荐答案

轻松地,您不能.您能解释一下您实际需要做什么吗?

Easily, you can't. Can you explain what you actually need to do?

这篇关于如何在Yocto/Bitbake的另一个配方中引用/找到一个配方的$ {PV}?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆