summaryrefslogtreecommitdiffstats
path: root/documentation/migration-guides/migration-3.3.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2023-01-05 08:34:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 17:39:09 +0000
commit8b1909aa6f7a51a878dc3d4a9223403ad3e164a9 (patch)
treee1418f545ad6640afb5fde004696eef2a9e6e67b /documentation/migration-guides/migration-3.3.rst
parentae280972ffba62d7ed839b692957f61b0955cbca (diff)
downloadpoky-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.rst17
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.
63New ``python3targetconfig`` class 63New ``python3targetconfig`` class
64--------------------------------- 64---------------------------------
65 65
66A new :ref:`python3targetconfig <ref-classes-python3targetconfig>` class has 66A new :ref:`ref-classes-python3targetconfig` class has
67been created for situations where you would previously have inherited the 67been 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
69target configuration data (such as correct installation directories). Recipes 69target configuration data (such as correct installation directories). Recipes
70where this situation applies should be changed to inherit 70where 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
73on target ``python3``, so it should only be used where appropriate in order to 73on target ``python3``, so it should only be used where appropriate in order to
74avoid unnecessarily lengthening builds. 74avoid 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
102Recipes that inherit from ``distutils3`` (or 102Recipes that inherit from ``distutils3`` (or :ref:`ref-classes-setuptools3`
103:ref:`setuptools3 <ref-classes-setuptools3>` which itself inherits 103which 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 104Python module within a subdirectory in the aforementioned manner should be
105subdirectory in the aforementioned manner should be changed to set 105changed 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: