summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-07-29 11:56:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-08 23:41:11 +0100
commit89fd9dd17a6450a1a9250e3f8ba212e9c3afd3f2 (patch)
tree5615030177498909da83965c1fcb67d046798a95 /documentation/dev-manual
parente9042fee7188021130efed1b2db31eac96c50f5b (diff)
downloadpoky-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.rst8
-rw-r--r--documentation/dev-manual/layers.rst2
-rw-r--r--documentation/dev-manual/new-recipe.rst2
-rw-r--r--documentation/dev-manual/qemu.rst4
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
244There may be a case where we want to build an :term:`Initramfs` image which does not 244There may be a case where we want to build an :term:`Initramfs` image which does not
245inherit the same distro policy as our main image, for example, we may want 245inherit the same distro policy as our main image, for example, we may want
246our main image to use ``TCLIBC="glibc"``, but to use ``TCLIBC="musl"`` in our :term:`Initramfs` 246our main image to use ``TCLIBC = "glibc"``, but to use ``TCLIBC = "musl"`` in our :term:`Initramfs`
247image to keep a smaller footprint. However, by performing the steps mentioned 247image to keep a smaller footprint. However, by performing the steps mentioned
248above the :term:`Initramfs` image will inherit ``TCLIBC="glibc"`` without allowing us 248above the :term:`Initramfs` image will inherit ``TCLIBC = "glibc"`` without allowing us
249to override it. 249to override it.
250 250
251To achieve this, you need to perform some additional steps: 251To 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
303If your :term:`SRC_URI` statement includes URLs pointing to individual files 303If your :term:`SRC_URI` statement includes URLs pointing to individual files
304fetched from a remote server other than a version control system, 304fetched 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,