summaryrefslogtreecommitdiffstats
path: root/documentation/migration-guides
diff options
context:
space:
mode:
authorYoann Congal <yoann.congal@smile.fr>2024-05-28 19:52:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-05-29 20:58:49 +0100
commit8fc967d0c7dbe64424c92fbe2ced736d4b1e0423 (patch)
treeef2052d7ec626a793c51ada2457efd3cc04cebd2 /documentation/migration-guides
parentcad8556566eaf3f87b96e3a97dee20d795ee20da (diff)
downloadpoky-8fc967d0c7dbe64424c92fbe2ced736d4b1e0423.tar.gz
migration-5.1: add the recommended pattern for S/UNPACKDIR definition
(From yocto-docs rev: 9fb708986cb9019062078f8a34288c44f2667dbd) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/migration-guides')
-rw-r--r--documentation/migration-guides/migration-5.1.rst11
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
59longer the case. This means the check in ``do_unpack_qa`` triggers where 59longer 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
61require to add an :term:`S` definition to a recipe that only uses 61require 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
63without setting :term:`S` to point at it does not work as the debug prefix 63recommended::
64mapping doesn't handle that. 64
65 S = "${WORKDIR}/sources"
66 UNPACKDIR = "${S}"
67
68Building C files from :term:`UNPACKDIR` without setting :term:`S` to point at
69it 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
67support for ``S = WORKDIR`` and ``oe-local-files`` has been removed. 72support for ``S = WORKDIR`` and ``oe-local-files`` has been removed.