Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
software:linux:yocto:devtool [2023-10-17 17:03] – 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> |
# build image for [[software: | # build image for [[software: | ||
# alter device tree in build/ | # alter device tree in build/ | ||
Zeile 79: | Zeile 79: | ||
$ 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 = " | ||
</ | </ | ||
- | This creates layer with suitable recipe and adds the new layer to the local // |