Recipe

In Yocto, a recipe defines the entire process surrounding any application or feature, that is ALL the operations necessary for it to function properly. These include:

  • where to find the source code (tar file, public or private git repository)
  • what changes need to be applied to it (any patches, specific configurations, etc.)
  • how to configure the compiler or code interpreter (any #define, environment variables, etc.)
  • how to compile the code (if necessary)
  • what dependencies are required (additional tools, libraries, modules, kernel configurations, etc.)
  • where to install the compilation results in the target file system
  • what other operations to perform (installation of configuration files, creation of symbolic links, etc.)

The recipe must also provide information on the license of the application in question (GPL, proprietary software, etc.) and its version. All this makes it very convenient to track which software will be present in our final system.

There are no strict rules for doing all this, but rather guidelines that can be implemented using the tools provided.

recipe yocto

work in progress