Skip to contentSkip to conversation

ref-manual: classes: devicetree: fix sentence saying the same thing twice

PATCH In review [email protected] 2 participants 2 messages Jun 23, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: classes: devicetree: fix sentence saying the same thing twice

From: Luca Ceresoli <[email protected]>

This sentence was originally written based on the comments in the .bbclass file, but further editing led to saying the same thing twice. Remove the duplication and also reword it to make it generally better.

Fixes f65816f5ea62 ("ref-manual: classes.rst: document devicetree.bbclass")
---
 documentation/ref-manual/classes.rst | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
documentation/ref-manual/classes.rst +6 -6
index 11e70006e5ac..e555a80b5af9 100644
@@ -600,12 +600,12 @@ The :ref:`ref-tasks-compile` task will compile two kinds of files:
 - Device tree overlays, detected from the presence of the ``/plugin/;``
   string in the file contents.
 
-This class behaves in a similar way as the :ref:`ref-classes-kernel-devicetree`
-class, also deploying output files into ``/boot/devicetree``. However, this
-class stores the deployed device tree binaries into the ``devicetree``
-subdirectory. This avoids clashes with the :ref:`ref-classes-kernel-devicetree`
-output. Additionally, the device trees are populated into the sysroot for
-access via the sysroot from within other recipes.
+This class deploys the generated device tree binaries into
+``${``\ :term:`DEPLOY_DIR_IMAGE`\ ``}/devicetree/``.  This is similar to
+what the :ref:`ref-classes-kernel-devicetree` class does, with the added
+``devicetree`` subdirectory to avoid name clashes. Additionally, the device
+trees are populated into the sysroot for access via the sysroot from within
+other recipes.
 
 By default, all device tree sources located in :term:`DT_FILES_PATH` directory
 are compiled. To select only particular sources, set :term:`DT_FILES` to
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Luca, Quentin,

Thanks for the correction and review!

Quoted 26 lines · Luca Ceresoli via lists.yoctoproject.org

From: Luca Ceresoli <[email protected]>

This sentence was originally written based on the comments in the .bbclass file, but further editing led to saying the same thing twice. Remove the duplication and also reword it to make it generally better.

Fixes f65816f5ea62 ("ref-manual: classes.rst: document devicetree.bbclass")
---
  documentation/ref-manual/classes.rst | 12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
documentation/ref-manual/classes.rst +0 -5
index 11e70006e5ac..e555a80b5af9 100644
@@ -600,12 +600,12 @@ The :ref:`ref-tasks-compile` task will compile two kinds of files:
  - Device tree overlays, detected from the presence of the ``/plugin/;``
    string in the file contents.
 
-This class behaves in a similar way as the :ref:`ref-classes-kernel-devicetree`
-class, also deploying output files into ``/boot/devicetree``. However, this
-class stores the deployed device tree binaries into the ``devicetree``
-subdirectory. This avoids clashes with the :ref:`ref-classes-kernel-devicetree`
-output. Additionally, the device trees are populated into the sysroot for

documentation/ref-manual/classes.rst The :ref:`ref-tasks-compile` task will compile two kinds of files: · line 611

Quoted 10 lines
documentation/ref-manual/classes.rst +6 -1
-access via the sysroot from within other recipes.
+This class deploys the generated device tree binaries into
+``${``\ :term:`DEPLOY_DIR_IMAGE`\ ``}/devicetree/``.  This is similar to
+what the :ref:`ref-classes-kernel-devicetree` class does, with the added
+``devicetree`` subdirectory to avoid name clashes. Additionally, the device
+trees are populated into the sysroot for access via the sysroot from within
+other recipes.
 
  By default, all device tree sources located in :term:`DT_FILES_PATH` directory
  are compiled. To select only particular sources, set :term:`DT_FILES` to

... and merged into "master-next" (for my own convenience).

Not too late for further changes and reviews :)
Thanks again
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com