diff options
Diffstat (limited to 'documentation/migration-guides/migration-5.1.rst')
-rw-r--r-- | documentation/migration-guides/migration-5.1.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/documentation/migration-guides/migration-5.1.rst b/documentation/migration-guides/migration-5.1.rst index c9bb38699b..94b527bdcb 100644 --- a/documentation/migration-guides/migration-5.1.rst +++ b/documentation/migration-guides/migration-5.1.rst | |||
@@ -20,8 +20,7 @@ S = ${WORKDIR} no longer supported | |||
20 | If a recipe has :term:`S` set to be :term:`WORKDIR`, this is no longer | 20 | If a recipe has :term:`S` set to be :term:`WORKDIR`, this is no longer |
21 | supported, and an error will be issued. The recipe should be changed to:: | 21 | supported, and an error will be issued. The recipe should be changed to:: |
22 | 22 | ||
23 | S = "${WORKDIR}/sources" | 23 | S = "${UNPACKDIR}" |
24 | UNPACKDIR = "${S}" | ||
25 | 24 | ||
26 | Any :term:`WORKDIR` references where files from :term:`SRC_URI` are referenced | 25 | Any :term:`WORKDIR` references where files from :term:`SRC_URI` are referenced |
27 | should be changed to :term:`S`. These are commonly in :ref:`ref-tasks-compile`, | 26 | should be changed to :term:`S`. These are commonly in :ref:`ref-tasks-compile`, |
@@ -62,8 +61,7 @@ require to add an :term:`S` definition to a recipe that only uses | |||
62 | ``file://`` :term:`SRC_URI` entries. To be consistent, the following pattern is | 61 | ``file://`` :term:`SRC_URI` entries. To be consistent, the following pattern is |
63 | recommended:: | 62 | recommended:: |
64 | 63 | ||
65 | S = "${WORKDIR}/sources" | 64 | S = "${UNPACKDIR}" |
66 | UNPACKDIR = "${S}" | ||
67 | 65 | ||
68 | Building C files from :term:`UNPACKDIR` without setting :term:`S` to point at | 66 | 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. | 67 | it does not work as the debug prefix mapping doesn't handle that. |