[bitbake-devel] 转发: About bitbake tasks
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Jul 12 10:50:47 UTC 2018
On Thursday, 12 July 2018 12:15:07 PM CEST developer_agl at xtev.cn wrote:
> I’m new to bitbake. And I have some questions about bitbake tasks mechanism
> and inherit mechanism. If a xxx.bb recipe content like this :
>
> ##start
>
> DESCRIPTION = ”xxxxxxxxx”
>
> XXX_XXXX = “${XXXXXXXX}”
>
> inherit some_guys
>
> ##end
>
> And Bitbake User Manual said that ‘The minimally required class for BitBake
> is the classes/base.bbclass file. The base class is implicitly inherited by
> every recipe.’ So which .bbclass should be parsed first, some_guys.bbclass
> or base.bbclass? I’m really confused about that.
Effectively, base.bbclass will be parsed first, then the lines in the recipe
up to inherit some_guys, then some_guys.bbclass, and then the lines in the
recipe that follow (in this case just a comment).
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the bitbake-devel
mailing list