diff options
-rw-r--r-- | documentation/ref-manual/classes.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index b5121aec0f..da2bd028d8 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
@@ -2082,6 +2082,16 @@ couple different ways: | |||
2082 | inherit statement in the recipe after all other inherit statements so | 2082 | inherit statement in the recipe after all other inherit statements so |
2083 | that the :ref:`ref-classes-nativesdk` class is inherited last. | 2083 | that the :ref:`ref-classes-nativesdk` class is inherited last. |
2084 | 2084 | ||
2085 | .. note:: | ||
2086 | |||
2087 | When creating a recipe, you must follow this naming convention:: | ||
2088 | |||
2089 | nativesdk-myrecipe.bb | ||
2090 | |||
2091 | |||
2092 | Not doing so can lead to subtle problems because there is code that | ||
2093 | depends on the naming convention. | ||
2094 | |||
2085 | - Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g. | 2095 | - Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g. |
2086 | ``myrecipe.bb``) by adding the following to the recipe:: | 2096 | ``myrecipe.bb``) by adding the following to the recipe:: |
2087 | 2097 | ||
@@ -2092,16 +2102,6 @@ couple different ways: | |||
2092 | specify any functionality specific to the respective SDK machine or | 2102 | specify any functionality specific to the respective SDK machine or |
2093 | target case. | 2103 | target case. |
2094 | 2104 | ||
2095 | .. note:: | ||
2096 | |||
2097 | When creating a recipe, you must follow this naming convention:: | ||
2098 | |||
2099 | nativesdk-myrecipe.bb | ||
2100 | |||
2101 | |||
2102 | Not doing so can lead to subtle problems because there is code that | ||
2103 | depends on the naming convention. | ||
2104 | |||
2105 | Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both | 2105 | Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both |
2106 | methods. The advantage of the second method is that you do not need to | 2106 | methods. The advantage of the second method is that you do not need to |
2107 | have two separate recipes (assuming you need both) for the SDK machine | 2107 | have two separate recipes (assuming you need both) for the SDK machine |