From 811cf0320c251f3667109ab99695d6694a30ecd3 Mon Sep 17 00:00:00 2001 From: Arne Schwerdt Date: Wed, 11 Oct 2023 10:48:04 +0200 Subject: [PATCH] ref-manual: Warn about COMPATIBLE_MACHINE skipping native recipes (From yocto-docs rev: 48e5fb383570dc6a067b14cc621e4cb347db900c) Signed-off-by: Arne Schwerdt Reviewed-by: Michael Opdenacker Signed-off-by: Steve Sakoman --- documentation/ref-manual/variables.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 6fa400a574..148eebf56a 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -1202,6 +1202,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