diff options
| -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 | ||
