diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-12-02 15:40:34 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:53:36 +0000 |
| commit | a6a3c796b779257f958fe7879638478b94c80c19 (patch) | |
| tree | dda5875ce14e4b277f54fc7c1b09fb9b6205d9f0 | |
| parent | 8cdc2d58550d29f778a6b4300eee0a02f5802786 (diff) | |
| download | poky-a6a3c796b779257f958fe7879638478b94c80c19.tar.gz | |
ref-manual: Added the image-types class.
(From yocto-docs rev: fa3749248b95cc0fe636d513269b5751d0b092cb)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 979e7344b0..d65ac0b0bd 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -940,6 +940,31 @@ | |||
| 940 | </para> | 940 | </para> |
| 941 | </section> | 941 | </section> |
| 942 | 942 | ||
| 943 | <section id='ref-classes-image-types'> | ||
| 944 | <title><filename>image-types.bbclass</filename></title> | ||
| 945 | |||
| 946 | <para> | ||
| 947 | The image types (<filename>image-types</filename>) class defines all of | ||
| 948 | the standard image output types that you can enable through the | ||
| 949 | <link linkend='var-IMAGE_FSTYPES'><filename>IMAGE_FSTYPES</filename></link> | ||
| 950 | variable. | ||
| 951 | You can use this class as a reference on how to add support for custom | ||
| 952 | image output types. | ||
| 953 | </para> | ||
| 954 | |||
| 955 | <para> | ||
| 956 | By default, this class is enabled through the | ||
| 957 | <link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link> | ||
| 958 | variable in | ||
| 959 | <link linkend='ref-classes-image'><filename>image.bbclass</filename></link>. | ||
| 960 | If you define your own image types using a custom BitBake class and | ||
| 961 | then use <filename>IMAGE_CLASSES</filename> to enable it, the custom | ||
| 962 | class must either inherit <filename>image-types</filename> or | ||
| 963 | <filename>image-types</filename> must also appear in | ||
| 964 | <filename>IMAGE_CLASSES</filename>. | ||
| 965 | </para> | ||
| 966 | </section> | ||
| 967 | |||
| 943 | <section id='ref-classes-mime'> | 968 | <section id='ref-classes-mime'> |
| 944 | <title><filename>mime.bbclass</filename></title> | 969 | <title><filename>mime.bbclass</filename></title> |
| 945 | 970 | ||
