From eb047a25bbca97b0bc522e787b1c22c8295790ab Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 4 Aug 2021 10:47:14 +0100 Subject: migration-3.4: Add extra notes to override syntax changes (From yocto-docs rev: dba53562b684c511fb59a3272656cb6052f28fb2) Signed-off-by: Richard Purdie Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-3.4.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/migration-guides/migration-3.4.rst b/documentation/migration-guides/migration-3.4.rst index 6fa1ab20cb..e83e936b74 100644 --- a/documentation/migration-guides/migration-3.4.rst +++ b/documentation/migration-guides/migration-3.4.rst @@ -56,6 +56,13 @@ context being specific tasks in that case. Tune overrides are another special case where some code does use them as overrides but some does not. We plan to try and make the tune code use overrides more consistently in the future. +There are some variables which do not use override syntax which include the +suffix to variables in ``layer.conf`` files such as :term:`BBFILE_PATTERN`, +:term:`SRCREV`\ ``_xxx`` where ``xxx`` is a name from :term:`SRC_URI` and +:term:`PREFERRED_VERSION`\ ``_xxx``. In particular, ``layer.conf`` suffixes +may be the same as a :term:`DISTRO` override causing some confusion. We do +plan to try and improve consistency as these issues are identified. + To help with migration of layers there is a script in OE-Core. Once configured with the overrides used by a layer, this can be run as:: -- cgit v1.2.3-54-g00ecf