Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:linux:yocto:recipes [2023-06-13 09:55] Urs Grafsoftware:linux:yocto:recipes [2023-06-13 10:19] (aktuell) Urs Graf
Zeile 39: Zeile 39:
 In essence, a recipe needs to provide 4 things: In essence, a recipe needs to provide 4 things:
  
-  * where is source (code)+  * where is the source (code)
   * how to build it   * how to build it
   * how/where to install it (in the image)   * how/where to install it (in the image)
Zeile 51: Zeile 51:
 Almost all recipes need some source code or other source from which to build the software. Almost all recipes need some source code or other source from which to build the software.
 In bitbake this step is called ''fetch''. In bitbake this step is called ''fetch''.
-Sources are specified by setting the ''SRC_URI'' variable and be fetched from a variety of sources.+Sources are specified by setting the ''SRC_URI'' variable and can be fetched from a variety of sources.
  
 For example, setting ''SRC_URI'' as shown below will fetch 2 local files ''heloworld.c'' and ''Makefile''. For example, setting ''SRC_URI'' as shown below will fetch 2 local files ''heloworld.c'' and ''Makefile''.
  
 There is a variety of fetchers available for downloading files from the internet or cloning git repositories and more. There is a variety of fetchers available for downloading files from the internet or cloning git repositories and more.
-Each has their own requirements and options, which can be found [[ https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#bb-fetchers | here ]].+Each has their own requirements and options, which can be found [[ https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#bb-fetchers | here]].
  
 <code> <code>
Zeile 104: Zeile 104:
 </code> </code>
  
-For makefile based projects, see [[ https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#new-recipe-makefile-based-package | here]].+For makefile based projects, see [[ https://docs.yoctoproject.org/dev-manual/new-recipe.html?highlight=makefile#building-a-makefile-based-package | Building a Makefile-Based Package]].
  
 ==== Appending a Function ==== ==== Appending a Function ====