summaryrefslogtreecommitdiffstats
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 12:30:45 +0100
commit0a493a772f83436cbe909de93c157f4ab2d2d136 (patch)
tree4e879ee624b4da067cf1454f707411d10ef7fe97
parent82f40261a06d39f0e7748942f480da5b44282fa3 (diff)
downloadbitbake-0a493a772f83436cbe909de93c157f4ab2d2d136.tar.gz
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> 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>
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-metadata.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index af9947199..b533d9dc0 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -330,7 +330,8 @@ Removal (Override Style Syntax)
You can remove values from lists using the removal override style
syntax. Specifying a value for removal causes all occurrences of that
-value to be removed from the variable.
+value to be removed from the variable. Unlike ":append" and ":prepend",
+there is no need to add a leading or trailing space to the value.
When you use this syntax, BitBake expects one or more strings.
Surrounding spaces and spacing are preserved. Here is an example::