typecheck.bbclass 391 B

123456789101112131415161718
  1. #
  2. # Copyright OpenEmbedded Contributors
  3. #
  4. # SPDX-License-Identifier: MIT
  5. #
  6. # Check types of bitbake configuration variables
  7. #
  8. # See oe.types for details.
  9. python check_types() {
  10. import oe.types
  11. for key in e.data.keys():
  12. if e.data.getVarFlag(key, "type"):
  13. oe.data.typed_value(key, e.data)
  14. }
  15. addhandler check_types
  16. check_types[eventmask] = "bb.event.ConfigParsed"