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 12:53] 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 45: Line 46:
 </code> </code>
  
 +<file yaml myconfig.yml>
 +---
 +header:
 +  version: 18
 +
 +target:
 +  - mc:genio-510-sbc:core-image-minimal
 +  - mc:genio-700-sbc:core-image-minimal
 +  - mc:genio-700-evb:core-image-minimal
 +...
 +</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 =====
Line 56: Line 89:
   * [[https://github.com/siemens/kas/issues/30|Multi-config support needs to be documented #30]]   * [[https://github.com/siemens/kas/issues/30|Multi-config support needs to be documented #30]]
   * [[https://github.com/siemens/jailhouse-images|Jailhouse Reference Images]]   * [[https://github.com/siemens/jailhouse-images|Jailhouse Reference Images]]
 +