meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sw:yocto:bitbake:multiconfig [2025/07/01 13:19] niziaksw:yocto:bitbake:multiconfig [2025/07/01 21:22] (current) niziak
Line 18: Line 18:
  
 Pros: Pros:
 +  * Acts as predefined ''local.conf'' shipped within layer.
   * It has great benefits when SSTATE cache is already filled and when multiple rootfs images are assembled in parallel.   * It has great benefits when SSTATE cache is already filled and when multiple rootfs images are assembled in parallel.
   * The same TMPDIR can be used, when building the same distro for multiple similar machines and multiple similar images.   * The same TMPDIR can be used, when building the same distro for multiple similar machines and multiple similar images.
Line 56: Line 57:
 ... ...
 </file> </file>
 +
 +
 +===== TMPDIR =====
 +
 +<file conf myconfig.conf>
 +DISTRO = "poky"
 +
 +# rename TMPDIR with option to override it:
 +MY_TMP_APPEND ?= "-poky"
 +TMPDIR:append = "${MY_TMP_APPEND}"
 +</file>
 +
 +or
 +
 +<file conf local.conf>
 +TMPDIR = "${TOPDIR}/tmp-${DISTRO}"
 +</file>
 +
 +[[https://lists.yoctoproject.org/g/meta-ti/topic/patch_multiconfig_use/91431962|[PATCH] multiconfig: use diferent TMPDIR for each machine]]
 +
 +[[https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/multiconfig/k3r5.conf?h=scarthgap|path: root/meta-ti-bsp/conf/multiconfig/k3r5.conf]]
  
 ===== references ===== ===== references =====