Lines Matching refs:module_path
198 def validate_setting(setting, module_path, filename=None): argument
201 checkfile = Path(module_path) / setting / filename
203 checkfile = Path(module_path) / setting
210 module_path = PurePath(module)
215 for module_yml in [module_path / MODULE_YML_PATH,
216 module_path / MODULE_YML_PATH.with_suffix('.yaml')]:
228 meta['name'] = meta.get('name', module_path.name)
232 if Path(module_path.joinpath('zephyr/CMakeLists.txt')).is_file() and \
233 Path(module_path.joinpath('zephyr/Kconfig')).is_file():
234 return {'name': module_path.name,
235 'name-sanitized': re.sub('[^a-zA-Z0-9]', '_', module_path.name),
243 module_path = PurePath(module)
244 module_yml = module_path.joinpath('zephyr/module.yml')
250 module_path.as_posix(),
264 module_path.as_posix(),
269 module_path.as_posix()))
274 module_path = PurePath(module)
275 module_yml = module_path.joinpath('zephyr/module.yml')
281 module_path.as_posix(),
298 module_path.as_posix(),
303 module_path.as_posix()))
388 module_path = PurePath(module)
389 module_yml = module_path.joinpath('zephyr/module.yml')
392 return kconfig_snippet(meta, module_path, blobs=blobs, taint_blobs=taint_blobs)
402 return kconfig_snippet(meta, module_path, Path(kconfig_file),
412 module_path = PurePath(module)
413 module_yml = module_path.joinpath('zephyr/module.yml')
416 return kconfig_snippet(meta, module_path, sysbuild=True)
427 return kconfig_snippet(meta, module_path, Path(kconfig_file))