diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-16 06:26:50 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-21 21:58:03 +0000 |
commit | 350aeebec408973df6d3649136cbcd82a68f96b9 (patch) | |
tree | eaaf3f865eb99f53116db6aa17a26532581184f4 /documentation | |
parent | a8261e98d31990823e27242c6cfdd80ef65830d0 (diff) | |
download | poky-350aeebec408973df6d3649136cbcd82a68f96b9.tar.gz |
ref-manual: Updated native and nativesdk classes.
Added a bit about needing to place the inherit statement last.
(From yocto-docs rev: 204e15035a9a116002b7f645e4edb378979c89f6)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 99c5814278..c451146f96 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -1798,6 +1798,9 @@ | |||
1798 | <itemizedlist> | 1798 | <itemizedlist> |
1799 | <listitem><para>Create a <filename>myrecipe-native.bb</filename> | 1799 | <listitem><para>Create a <filename>myrecipe-native.bb</filename> |
1800 | that inherits the <filename>native</filename> class. | 1800 | that inherits the <filename>native</filename> class. |
1801 | If you use this method, you must order the inherit statement | ||
1802 | in the recipe after all other inherit statements so that the | ||
1803 | <filename>native</filename> class is inherited last. | ||
1801 | </para></listitem> | 1804 | </para></listitem> |
1802 | <listitem><para>Create or modify a target recipe that has adds | 1805 | <listitem><para>Create or modify a target recipe that has adds |
1803 | the following: | 1806 | the following: |
@@ -1836,6 +1839,9 @@ | |||
1836 | <itemizedlist> | 1839 | <itemizedlist> |
1837 | <listitem><para>Create a <filename>myrecipe-nativesdk.bb</filename> | 1840 | <listitem><para>Create a <filename>myrecipe-nativesdk.bb</filename> |
1838 | recipe that inherits the <filename>nativesdk</filename> class. | 1841 | recipe that inherits the <filename>nativesdk</filename> class. |
1842 | If you use this method, you must order the inherit statement | ||
1843 | in the recipe after all other inherit statements so that the | ||
1844 | <filename>native</filename> class is inherited last. | ||
1839 | </para></listitem> | 1845 | </para></listitem> |
1840 | <listitem><para>Create a <filename>nativesdk</filename> variant | 1846 | <listitem><para>Create a <filename>nativesdk</filename> variant |
1841 | of any recipe by adding the following: | 1847 | of any recipe by adding the following: |