diff options
Diffstat (limited to 'documentation/ref-manual/classes.rst')
| -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 de6affdea0..e230bb69d0 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -1887,6 +1887,16 @@ couple different ways: | |||
| 1887 | inherit statement in the recipe after all other inherit statements so | 1887 | inherit statement in the recipe after all other inherit statements so |
| 1888 | that the :ref:`ref-classes-nativesdk` class is inherited last. | 1888 | that the :ref:`ref-classes-nativesdk` class is inherited last. |
| 1889 | 1889 | ||
| 1890 | .. note:: | ||
| 1891 | |||
| 1892 | When creating a recipe, you must follow this naming convention:: | ||
| 1893 | |||
| 1894 | nativesdk-myrecipe.bb | ||
| 1895 | |||
| 1896 | |||
| 1897 | Not doing so can lead to subtle problems because there is code that | ||
| 1898 | depends on the naming convention. | ||
| 1899 | |||
| 1890 | - Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g. | 1900 | - Or, create a :ref:`ref-classes-nativesdk` variant of any target recipe (e.g. |
| 1891 | ``myrecipe.bb``) by adding the following to the recipe:: | 1901 | ``myrecipe.bb``) by adding the following to the recipe:: |
| 1892 | 1902 | ||
| @@ -1897,16 +1907,6 @@ couple different ways: | |||
| 1897 | specify any functionality specific to the respective SDK machine or | 1907 | specify any functionality specific to the respective SDK machine or |
| 1898 | target case. | 1908 | target case. |
| 1899 | 1909 | ||
| 1900 | .. note:: | ||
| 1901 | |||
| 1902 | When creating a recipe, you must follow this naming convention:: | ||
| 1903 | |||
| 1904 | nativesdk-myrecipe.bb | ||
| 1905 | |||
| 1906 | |||
| 1907 | Not doing so can lead to subtle problems because there is code that | ||
| 1908 | depends on the naming convention. | ||
| 1909 | |||
| 1910 | Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both | 1910 | Although applied differently, the :ref:`ref-classes-nativesdk` class is used with both |
| 1911 | methods. The advantage of the second method is that you do not need to | 1911 | methods. The advantage of the second method is that you do not need to |
| 1912 | have two separate recipes (assuming you need both) for the SDK machine | 1912 | have two separate recipes (assuming you need both) for the SDK machine |
