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>
This commit is contained in:
Scott Rifenbark
2014-01-16 06:26:50 -06:00
committed by Richard Purdie
parent a8261e98d3
commit 350aeebec4

View File

@@ -1798,6 +1798,9 @@
<itemizedlist>
<listitem><para>Create a <filename>myrecipe-native.bb</filename>
that inherits the <filename>native</filename> class.
If you use this method, you must order the inherit statement
in the recipe after all other inherit statements so that the
<filename>native</filename> class is inherited last.
</para></listitem>
<listitem><para>Create or modify a target recipe that has adds
the following:
@@ -1836,6 +1839,9 @@
<itemizedlist>
<listitem><para>Create a <filename>myrecipe-nativesdk.bb</filename>
recipe that inherits the <filename>nativesdk</filename> class.
If you use this method, you must order the inherit statement
in the recipe after all other inherit statements so that the
<filename>native</filename> class is inherited last.
</para></listitem>
<listitem><para>Create a <filename>nativesdk</filename> variant
of any recipe by adding the following: