From c2a375b1fa2678d3f40bcd4f7be2424560656493 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 10 Jun 2025 11:19:26 +0100 Subject: [PATCH] ref-manual: classes: add recipe-naming QA test Add documentation for the new recipe-naming recipe QA test. (From yocto-docs rev: 8f9ad9681c18412e9eedc014e686b1b72e458687) Signed-off-by: Ross Burton Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- documentation/ref-manual/classes.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index f2f6e6e411..4705ca3f4d 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1591,6 +1591,10 @@ The tests you can list with the :term:`WARN_QA` and For example, assignments such as ``FILES:${PN} = "xyz"`` effectively turn into ``FILES = "xyz"``. +- ``recipe-naming:`` Checks that the recipe name and recipe class match, so + that ``*-native`` recipes inherit :ref:`ref-classes-native` and + ``nativesdk-*`` recipes inherit :ref:`ref-classes-nativesdk`. + - ``rpaths:`` Checks for rpaths in the binaries that contain build system paths such as :term:`TMPDIR`. If this test fails, bad ``-rpath`` options are being passed to the linker commands and your binaries