Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
software:linux:yocto:devtool [2023-10-17 16:58] – Urs Graf | software:linux:yocto:devtool [2023-11-16 15:23] (aktuell) – Urs Graf | ||
---|---|---|---|
Zeile 72: | Zeile 72: | ||
===== Use Cases ===== | ===== Use Cases ===== | ||
- | Modify the device tree of the kernel and put the changes into its own layer <code text> | + | - Modify the device tree of the kernel and put the changes into its own layer <code text> |
- | # set conf | + | # build image for [[software: |
+ | # alter device tree in build/ | ||
+ | # commit changes | ||
$ bitbake-layers create-layer ../ | $ bitbake-layers create-layer ../ | ||
$ bitbake-layers add-layer ../ | $ bitbake-layers add-layer ../ | ||
$ devtool finish -f linux-stable-rcn-ee ../ | $ devtool finish -f linux-stable-rcn-ee ../ | ||
+ | </ | ||
+ | - Repository of used library has new commit. How can you force yocto to fetch the new commit and rebuild the image? Simply, change the source reference in the recipe, e.g. <code text> | ||
+ | #SRCREV = " | ||
+ | SRCREV = " | ||
</ | </ |