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