summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorJohan Korsnes <johan.korsnes@remarkable.no>2022-09-29 14:21:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-26 23:02:10 +0100
commit7aa3ed5c37f3d47c3e794c58dc190c5110086151 (patch)
tree04597ede91e0d1519d64046eb4d7962039609941 /bitbake
parentb6d633e7f33351ee50fa81f73f1a1077b690aeaa (diff)
downloadpoky-7aa3ed5c37f3d47c3e794c58dc190c5110086151.tar.gz
bitbake: bitbake: user-manual: inform about spaces in :remove
Inform the reader that there should be no need for spaces in the value when using removal override `:remove`. Considering why spaces are used in the other override operators, it might seem obvious that they aren't needed for the removal operator. But, it seems like I'm not the first to be confused about this. Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Quentin Schulz <quentin.schulz@theobroma-systems.com> Cc: Ross Burton <ross.burton@arm.com> Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org> (Bitbake rev: 0a493a772f83436cbe909de93c157f4ab2d2d136) Signed-off-by: Johan Korsnes <johan.korsnes@remarkable.no> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index af9947199c..b533d9dc0e 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -330,7 +330,8 @@ Removal (Override Style Syntax)
330 330
331You can remove values from lists using the removal override style 331You can remove values from lists using the removal override style
332syntax. Specifying a value for removal causes all occurrences of that 332syntax. Specifying a value for removal causes all occurrences of that
333value to be removed from the variable. 333value to be removed from the variable. Unlike ":append" and ":prepend",
334there is no need to add a leading or trailing space to the value.
334 335
335When you use this syntax, BitBake expects one or more strings. 336When you use this syntax, BitBake expects one or more strings.
336Surrounding spaces and spacing are preserved. Here is an example:: 337Surrounding spaces and spacing are preserved. Here is an example::