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>
This commit is contained in:
Scott Rifenbark 2013-12-05 11:13:27 -06:00 committed by Richard Purdie
parent 1ac994c980
commit 7ead8dc752
1 changed files with 16 additions and 0 deletions

View File

@ -2645,6 +2645,22 @@
</para>
</section>
<section id='ref-classes-typecheck'>
<title><filename>typecheck.bbclass</filename></title>
<para>
The <filename>typecheck</filename> class provides support for
validating the values of variables set at the configuration level
against their defined types.
The OpenEmbedded build system allows you to define the type of a
variable using the "type" varflag.
Here is an example:
<literallayout class='monospaced'>
IMAGE_FEATURES[type] = "list"
</literallayout>
</para>
</section>
<section id='ref-classes-useradd'>
<title>Adding Users - <filename>useradd.bbclass</filename></title>