diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/migration-guides/migration-5.1.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/documentation/migration-guides/migration-5.1.rst b/documentation/migration-guides/migration-5.1.rst index c1cc711a42..b43fecc2dd 100644 --- a/documentation/migration-guides/migration-5.1.rst +++ b/documentation/migration-guides/migration-5.1.rst | |||
@@ -59,9 +59,14 @@ Previously, :term:`S` was always created but after the recent changes it is no | |||
59 | longer the case. This means the check in ``do_unpack_qa`` triggers where | 59 | longer the case. This means the check in ``do_unpack_qa`` triggers where |
60 | :term:`S` is not created by a recipe while it didn't happen before. This can | 60 | :term:`S` is not created by a recipe while it didn't happen before. This can |
61 | require to add an :term:`S` definition to a recipe that only uses | 61 | require to add an :term:`S` definition to a recipe that only uses |
62 | ``file://`` :term:`SRC_URI` entries. Building C files from :term:`UNPACKDIR` | 62 | ``file://`` :term:`SRC_URI` entries. To be consistent, the following pattern is |
63 | without setting :term:`S` to point at it does not work as the debug prefix | 63 | recommended:: |
64 | mapping doesn't handle that. | 64 | |
65 | S = "${WORKDIR}/sources" | ||
66 | UNPACKDIR = "${S}" | ||
67 | |||
68 | Building C files from :term:`UNPACKDIR` without setting :term:`S` to point at | ||
69 | it does not work as the debug prefix mapping doesn't handle that. | ||
65 | 70 | ||
66 | ``devtool`` and ``recipetool`` have been updated to handle this and their | 71 | ``devtool`` and ``recipetool`` have been updated to handle this and their |
67 | support for ``S = WORKDIR`` and ``oe-local-files`` has been removed. | 72 | support for ``S = WORKDIR`` and ``oe-local-files`` has been removed. |