diff options
| -rw-r--r-- | documentation/ref-manual/classes.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 567a4a8227..de6affdea0 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -1855,7 +1855,8 @@ a couple different ways: | |||
| 1855 | Not using this naming convention can lead to subtle problems | 1855 | Not using this naming convention can lead to subtle problems |
| 1856 | caused by existing code that depends on that naming convention. | 1856 | caused by existing code that depends on that naming convention. |
| 1857 | 1857 | ||
| 1858 | - Create or modify a target recipe that contains the following:: | 1858 | - Or, create a :ref:`ref-classes-native` variant of any target recipe (e.g. |
| 1859 | ``myrecipe.bb``) by adding the following to the recipe:: | ||
| 1859 | 1860 | ||
| 1860 | BBCLASSEXTEND = "native" | 1861 | BBCLASSEXTEND = "native" |
| 1861 | 1862 | ||
| @@ -1886,7 +1887,8 @@ couple different ways: | |||
| 1886 | inherit statement in the recipe after all other inherit statements so | 1887 | inherit statement in the recipe after all other inherit statements so |
| 1887 | that the :ref:`ref-classes-nativesdk` class is inherited last. | 1888 | that the :ref:`ref-classes-nativesdk` class is inherited last. |
| 1888 | 1889 | ||
| 1889 | - Create a :ref:`ref-classes-nativesdk` variant of any recipe by adding the following:: | 1890 | - Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g. |
| 1891 | ``myrecipe.bb``) by adding the following to the recipe:: | ||
| 1890 | 1892 | ||
| 1891 | BBCLASSEXTEND = "nativesdk" | 1893 | BBCLASSEXTEND = "nativesdk" |
| 1892 | 1894 | ||
