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:18:57 +0000 |
| commit | 31d0e41988148fc5c4a7186451bb609e4325b523 (patch) | |
| tree | 64bf54bb3273920cb101aa63154f0e2dab0ee842 | |
| parent | bfc10cfef6a94788173fac7f4e0f23e70ec91bd5 (diff) | |
| download | poky-31d0e41988148fc5c4a7186451bb609e4325b523.tar.gz | |
ref-manual: Added typecheck class.
(From yocto-docs rev: 60e740d455355beb7e5bce4621bc44e970c13bb8)
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 | 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 | ||
