mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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:
committed by
Richard Purdie
parent
a8261e98d3
commit
350aeebec4
@@ -1798,6 +1798,9 @@
|
|||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>Create a <filename>myrecipe-native.bb</filename>
|
<listitem><para>Create a <filename>myrecipe-native.bb</filename>
|
||||||
that inherits the <filename>native</filename> class.
|
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>
|
</para></listitem>
|
||||||
<listitem><para>Create or modify a target recipe that has adds
|
<listitem><para>Create or modify a target recipe that has adds
|
||||||
the following:
|
the following:
|
||||||
@@ -1836,6 +1839,9 @@
|
|||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem><para>Create a <filename>myrecipe-nativesdk.bb</filename>
|
<listitem><para>Create a <filename>myrecipe-nativesdk.bb</filename>
|
||||||
recipe that inherits the <filename>nativesdk</filename> class.
|
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>
|
</para></listitem>
|
||||||
<listitem><para>Create a <filename>nativesdk</filename> variant
|
<listitem><para>Create a <filename>nativesdk</filename> variant
|
||||||
of any recipe by adding the following:
|
of any recipe by adding the following:
|
||||||
|
|||||||
Reference in New Issue
Block a user