diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index de6affdea0..e230bb69d0 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst @@ -1887,6 +1887,16 @@ couple different ways: inherit statement in the recipe after all other inherit statements so that the :ref:`ref-classes-nativesdk` class is inherited last. + .. note:: + + When creating a recipe, you must follow this naming convention:: + + nativesdk-myrecipe.bb + + + Not doing so can lead to subtle problems because there is code that + depends on the naming convention. + - Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g. ``myrecipe.bb``) by adding the following to the recipe:: @@ -1897,16 +1907,6 @@ couple different ways: specify any functionality specific to the respective SDK machine or target case. -.. note:: - - When creating a recipe, you must follow this naming convention:: - - nativesdk-myrecipe.bb - - - Not doing so can lead to subtle problems because there is code that - depends on the naming convention. - Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both methods. The advantage of the second method is that you do not need to have two separate recipes (assuming you need both) for the SDK machine