summaryrefslogtreecommitdiffstats
path: root/meta/classes/typecheck.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/typecheck.bbclass')
-rw-r--r--meta/classes/typecheck.bbclass12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/classes/typecheck.bbclass b/meta/classes/typecheck.bbclass
new file mode 100644
index 0000000..72da932
--- /dev/null
+++ b/meta/classes/typecheck.bbclass
@@ -0,0 +1,12 @@
1# Check types of bitbake configuration variables
2#
3# See oe.types for details.
4
5python check_types() {
6 import oe.types
7 for key in e.data.keys():
8 if e.data.getVarFlag(key, "type"):
9 oe.data.typed_value(key, e.data)
10}
11addhandler check_types
12check_types[eventmask] = "bb.event.ConfigParsed"