Update check_compliance to handle auto defined ZEPHYR_<name>_MODULE Kconfig symbols. check_compliance runs three levels of Kconfig check. A basic and a full, both which uses the generated Kconfig.modules created according to Zephyr modules present. A Kconfig check where no Zephyr modules are sourced. This check ensures that Zephyr Kconfig tree doesn't refer to Kconfig symbols defined in Zephyr module's local Kconfig trees. However, there are a few auto generated symbols which are allowed, such as: `ZEPHYR_<name>_MODULE` and `ZEPHYR_<name>_MODULE_BLOBS`. Therefore, when testing no blobs, filter the generated Kconfig.modules file, so that no sourcing of extra Kconfig files are performed but lines defining `ZEPHYR_<name>_MODULE` and `ZEPHYR_<name>_MODULE_BLOBS` are preserved. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| coverage | ||
| stats | ||
| check_compliance.py | ||
| errno.py | ||
| guideline_check.py | ||
| Kconfig.board.v2 | ||
| pylintrc | ||
| tags.yaml | ||
| test_plan.py | ||
| twister_ignore.txt | ||
| upload_test_results_es.py | ||
| version_mgr.py | ||