meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| sw:yocto:bitbake:tips [2022/09/09 12:00] – niziak | sw:yocto:bitbake:tips [2025/06/11 11:55] (current) – niziak | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| * [[https:// | * [[https:// | ||
| - | ===== MACHINEOVERRIDES | + | ===== Pass env variables to bitbake |
| - | When creatung new machine.conf based on existing one [[https://docs.yoctoproject.org/ref-manual/ | + | To control additional or user defined recipe' |
| + | <code bash> | ||
| + | export foo=" | ||
| + | export BB_ENV_PASSTHROUGH_ADDITIONS=" | ||
| + | bitbake | ||
| + | </code> | ||
| + | |||
| + | |||
| + | ===== add files to rootfs ===== | ||
| + | |||
| + | '' | ||
| + | |||
| + | ===== override .conf ===== | ||
| + | |||
| + | No override or appends mechanism. But some workaround possible: | ||
| + | |||
| + | - override variables in '' | ||
| + | - create new conf file and inherit old one with '' | ||
| + | - create new conf file with the same name to mask old file (take care of layer priority) | ||
| + | |||
| + | ===== MACHINEOVERRIDES ===== | ||
| + | |||
| + | When creatung new machine.conf based on existing one [[https:// | ||
| [[https:// | [[https:// | ||
| Line 17: | Line 39: | ||
| bb.debug(" | bb.debug(" | ||
| + | |||
| </ | </ | ||
| + | |||