[yocto] require/include recipe.bb

Maciej Pijanowski maciej.pijanowski at 3mdeb.com
Wed Aug 22 06:39:06 PDT 2018


How about moving the common part which is supposed to get included into 
the `.inc` file?
To be fair, I have not seen any case of `include` or `require` statement 
with a recipe (.bb) file
rather than with the (`.inc`) file. Did you?


On 22.08.2018 15:34, Tomasz Michalski wrote:
> Hi
> I have recipes:
> recipe_1.0.0.bb <http://recipe_1.0.0.bb>
> recipe_1.0.1.bb <http://recipe_1.0.1.bb>
> ...
> recipe_3.4.0.bb <http://recipe_3.4.0.bb>
> If in some meta-layer I want to write some bbappend file to the latest 
> fresh version I create file
> recipe_%.bbappend.
>
> I have file otherRecipe.bb which is not versioned and inherit to 
> auto_package_version.
> In definition of otherRecipe I have
>
> DESCRIPTION = "some description"
> SECTION = "nameOfSection"
> LICENSE = "CLOSED"
>
> require recipe_1.0.0.bb <http://recipe_1.0.0.bb>
> (or
> include recipe_1.0.0.bb <http://recipe_1.0.0.bb>)
>
> How to change the above formula in order include the latest fresh 
> recipe instead of concrete version?
> Replacing with "include recipe_%.bb" doesn't work.
>
>
>
>

-- 
Maciej Pijanowski
Embedded Systems Engineer
http://3mdeb.com | @3mdeb_com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180822/1e3b1aa0/attachment.html>


More information about the yocto mailing list