I just started understanding Yocto. I have not find much information about classes ( .bbclass ) files . I know .bb file is a recipe which contains the instruction to build a package. When do we have to write a recipe and when a class or what is the difference between both
Yocto classes (.bbclass) are used to factorise recipe's code, to handle some general problems. For instance, handling CMake in recipes is made in cmake.bbclass so that when you add inherit cmake
, your recipe will manage CMake specifics.
You can look at class list in manual too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With