summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/classes.rst26
1 files changed, 14 insertions, 12 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 45973befbe..1d76b36d45 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -1993,7 +1993,8 @@ a couple different ways:
1993 Not using this naming convention can lead to subtle problems 1993 Not using this naming convention can lead to subtle problems
1994 caused by existing code that depends on that naming convention. 1994 caused by existing code that depends on that naming convention.
1995 1995
1996- Create or modify a target recipe that contains the following:: 1996- Or, create a :ref:`ref-classes-native` variant of any target recipe (e.g.
1997 ``myrecipe.bb``) by adding the following to the recipe::
1997 1998
1998 BBCLASSEXTEND = "native" 1999 BBCLASSEXTEND = "native"
1999 2000
@@ -2024,24 +2025,25 @@ couple different ways:
2024 inherit statement in the recipe after all other inherit statements so 2025 inherit statement in the recipe after all other inherit statements so
2025 that the :ref:`ref-classes-nativesdk` class is inherited last. 2026 that the :ref:`ref-classes-nativesdk` class is inherited last.
2026 2027
2027- Create a :ref:`ref-classes-nativesdk` variant of any recipe by adding the following:: 2028 .. note::
2028 2029
2029 BBCLASSEXTEND = "nativesdk" 2030 When creating a recipe, you must follow this naming convention::
2030 2031
2031 Inside the 2032 nativesdk-myrecipe.bb
2032 recipe, use ``:class-nativesdk`` and ``:class-target`` overrides to
2033 specify any functionality specific to the respective SDK machine or
2034 target case.
2035 2033
2036.. note::
2037 2034
2038 When creating a recipe, you must follow this naming convention:: 2035 Not doing so can lead to subtle problems because there is code that
2036 depends on the naming convention.
2039 2037
2040 nativesdk-myrecipe.bb 2038- Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g.
2039 ``myrecipe.bb``) by adding the following to the recipe::
2041 2040
2041 BBCLASSEXTEND = "nativesdk"
2042 2042
2043 Not doing so can lead to subtle problems because there is code that 2043 Inside the
2044 depends on the naming convention. 2044 recipe, use ``:class-nativesdk`` and ``:class-target`` overrides to
2045 specify any functionality specific to the respective SDK machine or
2046 target case.
2045 2047
2046Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both 2048Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both
2047methods. The advantage of the second method is that you do not need to 2049methods. The advantage of the second method is that you do not need to