@@ -63,7 +63,9 @@ This section briefly introduces BitBake. If you want more information on
BitBake, see the :doc:`BitBake User Manual <bitbake:index>`.
To see a list of the options BitBake supports, use either of the
-following commands::
+following commands:
+
+.. code-block:: console
$ bitbake -h
$ bitbake --help
@@ -73,7 +75,9 @@ The most common usage for BitBake is ``bitbake recipename``, where
to as the "target"). The target often equates to the first part of a
recipe's filename (e.g. "foo" for a recipe file named ``foo_1.3.0.bb``).
So, to process the ``matchbox-desktop_1.2.3.bb`` recipe file, you might
-type the following::
+type the following:
+
+.. code-block:: console
$ bitbake matchbox-desktop
@@ -913,7 +917,9 @@ list of files for ``${PN}-dev``, also defined in :oe_git:`bitbake.conf
The paths in this list must be *absolute* paths from the point of view of the
root filesystem on the target, and must *not* make a reference to the variable
-:term:`D` or any :term:`WORKDIR` related variable. A correct example would be::
+:term:`D` or any :term:`WORKDIR` related variable. A correct example would be:
+
+.. code-block:: text
${sysconfdir}/foo.conf
@@ -930,7 +936,9 @@ package.
.. note::
To find out which package installs a file, the ``oe-pkgdata-util``
- command-line utility can be used::
+ command-line utility can be used:
+
+ .. code-block:: console
$ oe-pkgdata-util find-path '/etc/fstab'
base-files: /etc/fstab
@@ -1057,13 +1065,17 @@ the image. The formats used for the root filesystem depend on the
support compression.
As an example, a dynamically created task when creating a particular
-image type would take the following form::
+image type would take the following form:
+
+.. code-block:: text
do_image_type
So, if the type
as specified by the :term:`IMAGE_FSTYPES` were ``ext4``, the dynamically
-generated task would be as follows::
+generated task would be as follows:
+
+.. code-block:: text
do_image_ext4
@@ -1456,7 +1468,9 @@ compiler is what BitBake uses to compile source files when creating the target
image. You can think of it simply as an automatically generated
cross-compiler that is used internally within BitBake only.
-The chain of events that occurs when the standard toolchain is bootstrapped::
+The chain of events that occurs when the standard toolchain is bootstrapped:
+
+.. code-block:: text
gcc -> virtual/cross-binutils -> linux-libc-headers -> virtual/cross-cc -> libgcc-initial -> virtual/libc -> libgcc -> virtual/compilerlibs
@@ -1505,7 +1519,9 @@ Host.
can take advantage of pre-built images that ship with the Yocto
Project and already contain cross-development toolchain installers.
-Here is the bootstrap process for the relocatable toolchain::
+Here is the bootstrap process for the relocatable toolchain:
+
+.. code-block:: text
gcc -> virtual/cross-binutils -> linux-libc-headers -> virtual/cross-cc -> libgcc-initial -> virtual/libc -> gcc-cross-canadian/clang-cross-canadian
@@ -2252,7 +2268,9 @@ which is integrating ``sayhello`` in our root file system:
#. Add ``sayhello`` to :term:`IMAGE_INSTALL` to integrate it into
the root file system
-The contents of ``libhello/Makefile`` are::
+The contents of ``libhello/Makefile`` are:
+
+.. code-block:: make
LIB=libhello.so
@@ -2280,7 +2298,9 @@ The contents of ``libhello/Makefile`` are::
and ``CFLAGS`` as BitBake will set them as environment variables according
to your build configuration.
-The contents of ``libhello/hellolib.h`` are::
+The contents of ``libhello/hellolib.h`` are:
+
+.. code-block:: c
#ifndef HELLOLIB_H
#define HELLOLIB_H
@@ -2289,7 +2309,9 @@ The contents of ``libhello/hellolib.h`` are::
#endif
-The contents of ``libhello/hellolib.c`` are::
+The contents of ``libhello/hellolib.c`` are:
+
+.. code-block:: c
#include <stdio.h>
@@ -2312,7 +2334,9 @@ The contents of ``sayhello/Makefile`` are:
clean:
rm -rf $(EXEC) *.o
-The contents of ``sayhello/sayhello.c`` are::
+The contents of ``sayhello/sayhello.c`` are:
+
+.. code-block:: c
#include <hellolib.h>
@@ -400,7 +400,9 @@ local working area (also called a branch) that tracks a specific
development branch from the upstream source Git repository. In other
words, you can define your local Git environment to work on any
development branch in the repository. To help illustrate, consider the
-following example Git commands::
+following example Git commands:
+
+.. code-block:: console
$ cd ~
$ git clone https://git.yoctoproject.org/yocto-docs -b &DISTRO_NAME_NO_CAP;
@@ -439,7 +441,9 @@ create and check out a local working Git branch based on a tag name. When
you do this, you get a snapshot of the Git repository that reflects the
state of the files when the change was made associated with that tag.
The most common use is to check out a working branch that matches a
-specific Yocto Project release. Here is an example::
+specific Yocto Project release. Here is an example:
+
+.. code-block:: console
$ cd ~
$ git clone https://git.yoctoproject.org/yocto-docs
The manuals are moving to a default of bitbake for code blocks, so a BitBake block needs no language and every other block needs one. This gives the blocks in this manual that are not BitBake their language. AI-Generated: codex/claude-opus 5.5 (xhigh) Signed-off-by: Trevor Woerner <twoerner@gmail.com> --- documentation/overview-manual/concepts.rst | 48 ++++++++++++++----- .../development-environment.rst | 8 +++- 2 files changed, 42 insertions(+), 14 deletions(-)