[yocto] Difference between bitbake inclusion and inheritance

Khem Raj raj.khem at gmail.com
Tue Oct 18 17:44:34 PDT 2016


On Tue, Oct 18, 2016 at 3:37 PM, Davis Roman <davis.roman84 at gmail.com> wrote:
> Hello,
>
> I'm a yocto newbie and so I'm becoming familiar with the documentation.
>
> I came across a bitbake feature that is somewhat confusing to me regarding
> the difference between optional/required inclusion versus inheritance.
>
> As far as optional/required inclusion is concerned, the documentation states
> quite clearly that the main difference is that the former will not issue an
> error message if the specified file is not found while the latter will so
> there is no issue here.
>
> My issue has to do with the 'inherit' command. Sounds to me like 'include'
> and 'require' already do the trick so I'm curious to know what value does
> 'inherit' bring ?

you can override pretty much everything from an inherited class if you wish to

>
> Any clarification would be extremely appreciated.
>
> Thank you,
>
> Davis
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list