diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2025-07-29 11:56:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-08-08 23:41:11 +0100 |
commit | 89fd9dd17a6450a1a9250e3f8ba212e9c3afd3f2 (patch) | |
tree | 5615030177498909da83965c1fcb67d046798a95 /documentation/dev-manual | |
parent | e9042fee7188021130efed1b2db31eac96c50f5b (diff) | |
download | poky-89fd9dd17a6450a1a9250e3f8ba212e9c3afd3f2.tar.gz |
docs-wide: fix space around equal assignments
Since commit 24772dd2ae6c ("parse/ConfHandler: Add warning for
deprecated whitespace usage") in BitBake, a warning is printed when
there are no spaces around an `=` assignment.
Adjust the documentation to show good examples only.
(From yocto-docs rev: 77ce1544dd793036b1135817c02e090138fe6407)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/building.rst | 8 | ||||
-rw-r--r-- | documentation/dev-manual/layers.rst | 2 | ||||
-rw-r--r-- | documentation/dev-manual/new-recipe.rst | 2 | ||||
-rw-r--r-- | documentation/dev-manual/qemu.rst | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/documentation/dev-manual/building.rst b/documentation/dev-manual/building.rst index 32c7aa5da0..04c1500943 100644 --- a/documentation/dev-manual/building.rst +++ b/documentation/dev-manual/building.rst | |||
@@ -243,9 +243,9 @@ Bundling an Initramfs Image From a Separate Multiconfig | |||
243 | 243 | ||
244 | There may be a case where we want to build an :term:`Initramfs` image which does not | 244 | There may be a case where we want to build an :term:`Initramfs` image which does not |
245 | inherit the same distro policy as our main image, for example, we may want | 245 | inherit the same distro policy as our main image, for example, we may want |
246 | our main image to use ``TCLIBC="glibc"``, but to use ``TCLIBC="musl"`` in our :term:`Initramfs` | 246 | our main image to use ``TCLIBC = "glibc"``, but to use ``TCLIBC = "musl"`` in our :term:`Initramfs` |
247 | image to keep a smaller footprint. However, by performing the steps mentioned | 247 | image to keep a smaller footprint. However, by performing the steps mentioned |
248 | above the :term:`Initramfs` image will inherit ``TCLIBC="glibc"`` without allowing us | 248 | above the :term:`Initramfs` image will inherit ``TCLIBC = "glibc"`` without allowing us |
249 | to override it. | 249 | to override it. |
250 | 250 | ||
251 | To achieve this, you need to perform some additional steps: | 251 | To achieve this, you need to perform some additional steps: |
@@ -255,8 +255,8 @@ To achieve this, you need to perform some additional steps: | |||
255 | For the sake of simplicity let's assume such multiconfig is called: ``initramfscfg.conf`` and | 255 | For the sake of simplicity let's assume such multiconfig is called: ``initramfscfg.conf`` and |
256 | contains the variables:: | 256 | contains the variables:: |
257 | 257 | ||
258 | TMPDIR="${TOPDIR}/tmp-initramfscfg" | 258 | TMPDIR = "${TOPDIR}/tmp-initramfscfg" |
259 | TCLIBC="musl" | 259 | TCLIBC = "musl" |
260 | 260 | ||
261 | #. *Set additional Initramfs variables on your main configuration:* | 261 | #. *Set additional Initramfs variables on your main configuration:* |
262 | Additionally, on your main configuration (``local.conf``) you need to set the | 262 | Additionally, on your main configuration (``local.conf``) you need to set the |
diff --git a/documentation/dev-manual/layers.rst b/documentation/dev-manual/layers.rst index 67482bf544..fbf3f1a339 100644 --- a/documentation/dev-manual/layers.rst +++ b/documentation/dev-manual/layers.rst | |||
@@ -609,7 +609,7 @@ file is in the layer at ``recipes-graphics/xorg-xserver``:: | |||
609 | file://xorg.conf.d/99-calibration.conf \ | 609 | file://xorg.conf.d/99-calibration.conf \ |
610 | " | 610 | " |
611 | do_install:append:rpi () { | 611 | do_install:append:rpi () { |
612 | PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" | 612 | PITFT = "${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" |
613 | if [ "${PITFT}" = "1" ]; then | 613 | if [ "${PITFT}" = "1" ]; then |
614 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ | 614 | install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ |
615 | install -m 0644 ${UNPACKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ | 615 | install -m 0644 ${UNPACKDIR}/xorg.conf.d/98-pitft.conf ${D}/${sysconfdir}/X11/xorg.conf.d/ |
diff --git a/documentation/dev-manual/new-recipe.rst b/documentation/dev-manual/new-recipe.rst index 832aa300e1..aa4fb97a4b 100644 --- a/documentation/dev-manual/new-recipe.rst +++ b/documentation/dev-manual/new-recipe.rst | |||
@@ -298,7 +298,7 @@ a ``+`` sign in its definition. Here is an example from the recipe | |||
298 | SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https" | 298 | SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https" |
299 | 299 | ||
300 | PV = "0.8.18.1.11+git" | 300 | PV = "0.8.18.1.11+git" |
301 | SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff" | 301 | SRCREV = "3cdccdc9505643e50f8208171d9eee5de11a42ff" |
302 | 302 | ||
303 | If your :term:`SRC_URI` statement includes URLs pointing to individual files | 303 | If your :term:`SRC_URI` statement includes URLs pointing to individual files |
304 | fetched from a remote server other than a version control system, | 304 | fetched from a remote server other than a version control system, |
diff --git a/documentation/dev-manual/qemu.rst b/documentation/dev-manual/qemu.rst index 92c93a82ab..9e0b8b8136 100644 --- a/documentation/dev-manual/qemu.rst +++ b/documentation/dev-manual/qemu.rst | |||
@@ -424,9 +424,9 @@ command line: | |||
424 | in the :term:`Build Directory` ``deploy/image`` directory. | 424 | in the :term:`Build Directory` ``deploy/image`` directory. |
425 | Examples:: | 425 | Examples:: |
426 | 426 | ||
427 | QB_SLIRP_OPT="-netdev user,id=net0,hostfwd=tcp::8080-:80" | 427 | QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::8080-:80" |
428 | 428 | ||
429 | QB_SLIRP_OPT="-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22" | 429 | QB_SLIRP_OPT = "-netdev user,id=net0,hostfwd=tcp::8080-:80,hostfwd=tcp::2222-:22" |
430 | 430 | ||
431 | The first example forwards TCP port 80 from the emulated system to | 431 | The first example forwards TCP port 80 from the emulated system to |
432 | port 8080 (or the next free port) on the host system, | 432 | port 8080 (or the next free port) on the host system, |