Home
last modified time | relevance | path

Searched refs:cfgTarget (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/scripts/west_commands/zspdx/
Dcmakefileapijson.py128 cfgTarget = zspdx.cmakefileapi.ConfigTarget()
129 cfgTarget.name = cfgTarget_dict.get("name", "")
130 cfgTarget.id = cfgTarget_dict.get("id", "")
131 cfgTarget.directoryIndex = cfgTarget_dict.get("directoryIndex", -1)
132 cfgTarget.projectIndex = cfgTarget_dict.get("projectIndex", -1)
133 cfgTarget.jsonFile = cfgTarget_dict.get("jsonFile", "")
135 if cfgTarget.jsonFile != "":
136 cfgTarget.target = parseTarget(os.path.join(replyDir, cfgTarget.jsonFile))
138 cfgTarget.target = None
140 cfg.configTargets.append(cfgTarget)
[all …]
Dwalker.py396 for cfgTarget in cfgTargets:
398 pkg = self.initConfigTargetPackage(cfgTarget)
401 if len(cfgTarget.target.artifacts) > 0:
403 bf = self.addBuildFile(cfgTarget, pkg)
411 self.collectPendingSourceFiles(cfgTarget, pkg, bf)
416 self.collectTargetDependencies(cfgTargets, cfgTarget, pkg)
419 def initConfigTargetPackage(self, cfgTarget): argument
424 cfg.name = cfgTarget.name
425 cfg.spdxID = "SPDXRef-" + zspdx.spdxids.convertToSPDXIDSafe(cfgTarget.name)
440 def addBuildFile(self, cfgTarget, pkg): argument
[all …]