From 9431c9292d3126f3df14823f2380545e2c1d7e47 Mon Sep 17 00:00:00 2001 From: Arne Schwerdt Date: Wed, 11 Oct 2023 10:48:04 +0200 Subject: ref-manual: Warn about COMPATIBLE_MACHINE skipping native recipes (From yocto-docs rev: fcc9b54cc46a0831f79a96e041cbe8deed58cf66) Signed-off-by: Arne Schwerdt Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/ref-manual/variables.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'documentation') diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 11523bb9e7..a3b774b540 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1358,6 +1358,13 @@ system and gives an overview of their function and contents. speed since the build system skips parsing recipes not compatible with the current machine. + .. note:: + + When :term:`COMPATIBLE_MACHINE` is set in a recipe inherits from + native, the recipe is always skipped. All native recipes must be + entirely target independent and should not rely on :term:`MACHINE`. + + :term:`COMPLEMENTARY_GLOB` Defines wildcards to match when installing a list of complementary packages for all the packages explicitly (or implicitly) installed in -- cgit v1.2.3-54-g00ecf