diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-12-05 11:13:27 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-11 14:17:54 +0000 |
commit | 7ead8dc752ddfc88085f18bf0b7d75d6a1ea029a (patch) | |
tree | a14d7d392cc4a7735ac4c4ee8e4f749e6cf30bc8 /documentation | |
parent | 1ac994c9801d5e6a6497918e3666b7d8a0e7d4dd (diff) | |
download | poky-7ead8dc752ddfc88085f18bf0b7d75d6a1ea029a.tar.gz |
ref-manual: Added typecheck class.
(From yocto-docs rev: de7d8ec25cd6e3d03392d4106f081a32e349d50d)
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 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 1264aa5f4a..df46590059 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -2645,6 +2645,22 @@ | |||
2645 | </para> | 2645 | </para> |
2646 | </section> | 2646 | </section> |
2647 | 2647 | ||
2648 | <section id='ref-classes-typecheck'> | ||
2649 | <title><filename>typecheck.bbclass</filename></title> | ||
2650 | |||
2651 | <para> | ||
2652 | The <filename>typecheck</filename> class provides support for | ||
2653 | validating the values of variables set at the configuration level | ||
2654 | against their defined types. | ||
2655 | The OpenEmbedded build system allows you to define the type of a | ||
2656 | variable using the "type" varflag. | ||
2657 | Here is an example: | ||
2658 | <literallayout class='monospaced'> | ||
2659 | IMAGE_FEATURES[type] = "list" | ||
2660 | </literallayout> | ||
2661 | </para> | ||
2662 | </section> | ||
2663 | |||
2648 | <section id='ref-classes-useradd'> | 2664 | <section id='ref-classes-useradd'> |
2649 | <title>Adding Users - <filename>useradd.bbclass</filename></title> | 2665 | <title>Adding Users - <filename>useradd.bbclass</filename></title> |
2650 | 2666 | ||