ref-manual: Added image-mklibs and image-prelink classes.

(From yocto-docs rev: 2dc02cc572f217b4f15b51cb58fcb63856902e71)

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
2013-12-02 15:02:13 -06:00
committed by Richard Purdie
parent 6b1b052e87
commit 89a3793e20

View File

@@ -877,6 +877,54 @@
</para>
</section>
<section id='ref-classes-image-mklibs'>
<title><filename>image-mklibs.bbclass</filename></title>
<para>
The make libraries (<filename>mklibs</filename>) class
enables the use of the <filename>mklibs</filename> utility during the
<filename>do_rootfs</filename> task, which optimizes the size of
libraries contained in the image.
</para>
<para>
The
<link linkend='var-USER_CLASSES'><filename>USER_CLASSES</filename></link>
variable enables this class.
By default, the class is enabled in the
<filename>local.conf.template</filename> in the
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
as follows:
<literallayout class='monospaced'>
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
</literallayout>
</para>
</section>
<section id='ref-classes-image-prelink'>
<title><filename>image-prelink.bbclass</filename></title>
<para>
The image prelink (<filename>image-prelink</filename>) class
enables the use of the <filename>prelink</filename> utility during
the <filename>do_rootfs</filename> task, which optimizes the dynamic
linking of shared libraries to reduce executable startup time.
</para>
<para>
The
<link linkend='var-USER_CLASSES'><filename>USER_CLASSES</filename></link>
variable enables this class.
By default, the class is enabled in the
<filename>local.conf.template</filename> in the
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
as follows:
<literallayout class='monospaced'>
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
</literallayout>
</para>
</section>
<section id='ref-classes-mime'>
<title><filename>mime.bbclass</filename></title>