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:operators [2022/09/09 12:43] niziaksw:yocto:bitbake:operators [2025/11/03 13:24] (current) – [Override operators] niziak
Line 13: Line 13:
   * **Solution**: use ''_append'' to unconditionally appends a value (but add space before value).   * **Solution**: use ''_append'' to unconditionally appends a value (but add space before value).
  
 +====== Override operators ======
 +
 +  * '':append =" foo"'' - append literally so space is needed
 +  * '':prepend = "foo "'' - prepend literally so space is needed
 +  * '':remove = "bar foo"'' - no need to use space. List of string. Each string is treated as separate element to remove.
 +
 +The overrides are applied in this order, '':append'', '':prepend'', '':remove''. This implies it is not possible to re-append previously removed strings
 +
 +More:
 +  * [[https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#removal-override-style-syntax|3.1.11 Removal (Override Style Syntax)]]
 +  * [[https://embeddeduse.com/2025/07/22/distro_featuresappend-after-distro_featuresremove-has-no-effect/|DISTRO_FEATURES:append After DISTRO_FEATURES:remove Has No Effect]]
 ====== SRC_URI_append ====== ====== SRC_URI_append ======