diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2023-01-05 08:34:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 17:39:09 +0000 |
commit | 8b1909aa6f7a51a878dc3d4a9223403ad3e164a9 (patch) | |
tree | e1418f545ad6640afb5fde004696eef2a9e6e67b /documentation/migration-guides/migration-3.3.rst | |
parent | ae280972ffba62d7ed839b692957f61b0955cbca (diff) | |
download | poky-8b1909aa6f7a51a878dc3d4a9223403ad3e164a9.tar.gz |
manuals: simplify references to classes
Now that .bbclass is removed from class section titles.
We can now have, for example, :ref:`ref-classes-insane`
instead of :ref:`insane <ref-classes-insane>`.
Then, when necessary, rework paragraphs so that they
have lines of even length, not exceeding 80 characters.
(From yocto-docs rev: e76190e3be78c1e483bec0469f1e437dbf8f3791)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/migration-guides/migration-3.3.rst')
-rw-r--r-- | documentation/migration-guides/migration-3.3.rst | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/documentation/migration-guides/migration-3.3.rst b/documentation/migration-guides/migration-3.3.rst index 16d5e2a3ee..d1e589d7b4 100644 --- a/documentation/migration-guides/migration-3.3.rst +++ b/documentation/migration-guides/migration-3.3.rst | |||
@@ -63,13 +63,13 @@ need to update those. | |||
63 | New ``python3targetconfig`` class | 63 | New ``python3targetconfig`` class |
64 | --------------------------------- | 64 | --------------------------------- |
65 | 65 | ||
66 | A new :ref:`python3targetconfig <ref-classes-python3targetconfig>` class has | 66 | A new :ref:`ref-classes-python3targetconfig` class has |
67 | been created for situations where you would previously have inherited the | 67 | been created for situations where you would previously have inherited the |
68 | :ref:`python3native <ref-classes-python3native>` class but need access to | 68 | :ref:`ref-classes-python3native` class but need access to |
69 | target configuration data (such as correct installation directories). Recipes | 69 | target configuration data (such as correct installation directories). Recipes |
70 | where this situation applies should be changed to inherit | 70 | where this situation applies should be changed to inherit |
71 | :ref:`python3targetconfig <ref-classes-python3targetconfig>` instead of | 71 | :ref:`ref-classes-python3targetconfig` instead of |
72 | :ref:`python3native <ref-classes-python3native>`. This also adds a dependency | 72 | :ref:`ref-classes-python3native`. This also adds a dependency |
73 | on target ``python3``, so it should only be used where appropriate in order to | 73 | on target ``python3``, so it should only be used where appropriate in order to |
74 | avoid unnecessarily lengthening builds. | 74 | avoid unnecessarily lengthening builds. |
75 | 75 | ||
@@ -99,11 +99,10 @@ variable so that recipes can specify it explicitly, for example:: | |||
99 | S = "${WORKDIR}/git" | 99 | S = "${WORKDIR}/git" |
100 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" | 100 | DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule" |
101 | 101 | ||
102 | Recipes that inherit from ``distutils3`` (or | 102 | Recipes that inherit from ``distutils3`` (or :ref:`ref-classes-setuptools3` |
103 | :ref:`setuptools3 <ref-classes-setuptools3>` which itself inherits | 103 | which itself inherits ``distutils3``) that also set :term:`S` to point to a |
104 | ``distutils3``) that also set :term:`S` to point to a Python module within a | 104 | Python module within a subdirectory in the aforementioned manner should be |
105 | subdirectory in the aforementioned manner should be changed to set | 105 | changed to set ``DISTUTILS_SETUP_PATH`` instead. |
106 | ``DISTUTILS_SETUP_PATH`` instead. | ||
107 | 106 | ||
108 | 107 | ||
109 | .. _migration-3.3-bitbake: | 108 | .. _migration-3.3-bitbake: |