diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-12-02 15:02:13 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:53:35 +0000 |
| commit | 89a3793e20d63157362f5ac0cddea95ccb94da1b (patch) | |
| tree | 34337c11bb24662a748bac942e62bdee99b6fd24 /documentation | |
| parent | 6b1b052e874afc42b515f8b3aead60076f8af1b4 (diff) | |
| download | poky-89a3793e20d63157362f5ac0cddea95ccb94da1b.tar.gz | |
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>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 05e0fa6ce3..e3e6675100 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -877,6 +877,54 @@ | |||
| 877 | </para> | 877 | </para> |
| 878 | </section> | 878 | </section> |
| 879 | 879 | ||
| 880 | <section id='ref-classes-image-mklibs'> | ||
| 881 | <title><filename>image-mklibs.bbclass</filename></title> | ||
| 882 | |||
| 883 | <para> | ||
| 884 | The make libraries (<filename>mklibs</filename>) class | ||
| 885 | enables the use of the <filename>mklibs</filename> utility during the | ||
| 886 | <filename>do_rootfs</filename> task, which optimizes the size of | ||
| 887 | libraries contained in the image. | ||
| 888 | </para> | ||
| 889 | |||
| 890 | <para> | ||
| 891 | The | ||
| 892 | <link linkend='var-USER_CLASSES'><filename>USER_CLASSES</filename></link> | ||
| 893 | variable enables this class. | ||
| 894 | By default, the class is enabled in the | ||
| 895 | <filename>local.conf.template</filename> in the | ||
| 896 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink> | ||
| 897 | as follows: | ||
| 898 | <literallayout class='monospaced'> | ||
| 899 | USER_CLASSES ?= "buildstats image-mklibs image-prelink" | ||
| 900 | </literallayout> | ||
| 901 | </para> | ||
| 902 | </section> | ||
| 903 | |||
| 904 | <section id='ref-classes-image-prelink'> | ||
| 905 | <title><filename>image-prelink.bbclass</filename></title> | ||
| 906 | |||
| 907 | <para> | ||
| 908 | The image prelink (<filename>image-prelink</filename>) class | ||
| 909 | enables the use of the <filename>prelink</filename> utility during | ||
| 910 | the <filename>do_rootfs</filename> task, which optimizes the dynamic | ||
| 911 | linking of shared libraries to reduce executable startup time. | ||
| 912 | </para> | ||
| 913 | |||
| 914 | <para> | ||
| 915 | The | ||
| 916 | <link linkend='var-USER_CLASSES'><filename>USER_CLASSES</filename></link> | ||
| 917 | variable enables this class. | ||
| 918 | By default, the class is enabled in the | ||
| 919 | <filename>local.conf.template</filename> in the | ||
| 920 | <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink> | ||
| 921 | as follows: | ||
| 922 | <literallayout class='monospaced'> | ||
| 923 | USER_CLASSES ?= "buildstats image-mklibs image-prelink" | ||
| 924 | </literallayout> | ||
| 925 | </para> | ||
| 926 | </section> | ||
| 927 | |||
| 880 | <section id='ref-classes-mime'> | 928 | <section id='ref-classes-mime'> |
| 881 | <title><filename>mime.bbclass</filename></title> | 929 | <title><filename>mime.bbclass</filename></title> |
| 882 | 930 | ||
