ref-manual: Added image-mklibs and image-prelink classes.
(From yocto-docs rev: ec9783ab26661167149be02b3e24c86154309b97) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
fa5efc2dda
commit
5599505af7
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue