admin管理员组文章数量:1123370
Using Yocto, I created a recipe which depends on an other recipe I have created. I added the recipe to my image. I want to specify the version which depends the recipe such like:
custom-image-next.bb
IMAGE_INSTALL:append = " my-recipe"
custom-image.bb
require custom-image-next.bb
# use fixed version of package
REQUIRE_VERSION_my-recipe = "0.1.0"
my-recipe.bb
# Depends on my-other-recipe last version
DEPENDS = "my-other-recipe"
my-recipe_0.1.0.bb
# Should depends on my-other-recipe 0.2.0
DEPENDS = "my-other-recipe_0.2.0"
# I also tried REQUIRE_VERSION_my-other-recipe = "0.2.0"
my-other-recipe.bb
# Used by custom-image-next as REQUIRED_VERSION not set
my-other-recipe_0.2.0.bb
# Used by custom-image-release as REQUIRED_VERSION set
But my-other-recipe 0.2.0 is never used. How to tells my-recipe.bb
to use my-other-recipe.bb
and force my-recipe_0.1.0.bb
to use my-other-recipe_0.2.0.bb
?
本文标签: Yocto DEPENDS on specific versionStack Overflow
版权声明:本文标题:Yocto DEPENDS on specific version - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736564629a1944687.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论