Lines Matching refs:meta

210                 meta = yaml.load(f.read(), Loader=SafeLoader)
213 pykwalify.core.Core(source_data=meta, schema_data=schema)\
219 meta['name'] = meta.get('name', module_path.name)
220 meta['name-sanitized'] = re.sub('[^a-zA-Z0-9]', '_', meta['name'])
221 return meta
232 def process_cmake(module, meta): argument
233 section = meta.get('build', dict())
240 .format(meta['name'],
242 "${ZEPHYR_" + meta['name-sanitized'].upper() + "_CMAKE_DIR}"))
254 .format(meta['name'],
259 .format(meta['name'],
263 def process_sysbuildcmake(module, meta): argument
264 section = meta.get('build', dict())
271 .format(meta['name'],
273 "${SYSBUILD_" + meta['name-sanitized'].upper() + "_CMAKE_DIR}"))
288 .format(meta['name'],
293 .format(meta['name'],
297 def process_settings(module, meta): argument
298 section = meta.get('build', dict())
325 def process_blobs(module, meta): argument
327 mblobs = meta.get('blobs', None)
333 blob['module'] = meta.get('name', None)
358 def kconfig_snippet(meta, path, kconfig_file=None, blobs=False, taint_blobs=False, sysbuild=False): argument
359 name = meta['name']
360 name_sanitized = meta['name-sanitized']
375 def process_kconfig(module, meta): argument
376 blobs = process_blobs(module, meta)
378 section = meta.get('build', dict())
383 return kconfig_snippet(meta, module_path, blobs=blobs, taint_blobs=taint_blobs)
393 return kconfig_snippet(meta, module_path, Path(kconfig_file),
396 name_sanitized = meta['name-sanitized']
401 def process_sysbuildkconfig(module, meta): argument
402 section = meta.get('build', dict())
407 return kconfig_snippet(meta, module_path, sysbuild=True)
418 return kconfig_snippet(meta, module_path, Path(kconfig_file))
420 name_sanitized = meta['name-sanitized']
426 def process_twister(module, meta): argument
429 tests = meta.get('tests', [])
430 samples = meta.get('samples', [])
431 boards = meta.get('boards', [])
560 meta = {'zephyr': None, 'modules': None, 'workspace': None}
572 meta['zephyr'] = zephyr_project
573 meta['workspace'] = {}
633 meta.update({'west': {'manifest': west_projs['manifest_path'],
635 meta['workspace'].update({'off': workspace_off})
648 meta_module['name'] = module.meta.get('name')
650 if module.meta.get('security'):
651 meta_module['security'] = module.meta.get('security')
654 meta['modules'] = meta_modules
656 meta['workspace'].update({'dirty': workspace_dirty,
679 return meta
753 meta = process_module(project)
754 if meta:
755 depends = meta.get('build', {}).get('depends', [])
756 all_modules_by_name[meta['name']] = Module(project, meta, depends)
773 node_name = node.meta['name']
848 kconfig += process_kconfig(module.project, module.meta)
849 cmake += process_cmake(module.project, module.meta)
851 module.project, module.meta)
852 sysbuild_cmake += process_sysbuildcmake(module.project, module.meta)
853 settings += process_settings(module.project, module.meta)
854 twister += process_twister(module.project, module.meta)
891 meta = process_meta(args.zephyr_base, west_projs, modules,
897 fp.write(yaml.dump(meta))