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 [2023/06/22 09:21] – niziak | sw:yocto:bitbake:tips [2025/06/11 11:55] (current) – niziak | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | ===== Pass env variables to bitbake ===== | ||
| + | |||
| + | To control additional or user defined recipe' | ||
| + | <code bash> | ||
| + | export foo=" | ||
| + | export BB_ENV_PASSTHROUGH_ADDITIONS=" | ||
| + | bitbake ... | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== add files to rootfs ===== | ||
| + | |||
| + | '' | ||
| ===== override .conf ===== | ===== override .conf ===== | ||
| No override or appends mechanism. But some workaround possible: | No override or appends mechanism. But some workaround possible: | ||
| + | |||
| - override variables in '' | - override variables in '' | ||
| - create new conf file and inherit old one with '' | - 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) | - create new conf file with the same name to mask old file (take care of layer priority) | ||
| - | |||
| ===== MACHINEOVERRIDES ===== | ===== MACHINEOVERRIDES ===== | ||
| When creatung new machine.conf based on existing one [[https:// | When creatung new machine.conf based on existing one [[https:// | ||
| - | |||
| - | |||
| [[https:// | [[https:// | ||
| Line 25: | Line 39: | ||
| bb.debug(" | bb.debug(" | ||
| + | |||
| </ | </ | ||
| + | |||