Skip to content

KconfigEx implementation

Laurent Marchelli requested to merge dev into master

OODT (Object Oriented Directory Tree) implementation on Kconfig*.bboss files to reduce the number of symbolic links.

  • kconfigex.py :

    • Kconfig template preprocessor implementation (KconfigEx._open)
    • Kconfig variables surrounded with braces like ${srv_config} are now replaced by the preprocessor before the file is parsed by Kconfig.
    • Symbol parsing moved from builder._substvar into KconfigEx.parse_symbol.
  • kconfigfunctions.py:

    • Add nice helper functions for Kconfig*.bboss definition : $(iif,condition,result_true,result_false) $file_find(object_dir, file_path)
  • project.py :

    • Kconfig symbol parsing is now done when the registry is loaded.
    • Project classes does not define registry variables anymore for more consistency.
    • Registry variables definition are kept into Kconfig*.boss files definition.
    • Service port and uri variables generation moved into Kconfig*.boss definition.
  • *.py

    • License text reduced to speedup file parsing.
  • requirements.txt:

    • kconfiglib version upgraded to version 10.34.0

Merge request reports