diff options
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: |