MCPcopy Create free account
hub / github.com/SmingHub/Sming / createComponentsFile

Function createComponentsFile

Tools/cfgtool.py:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def createComponentsFile():
53 fileList = os.environ['KCONFIG_FILES'].split()
54 compFile = os.environ['KCONFIG_COMPONENTS']
55 with open(compFile, "w") as f:
56 for s in fileList:
57 f.write('source "%s"\n' % fixpath(s))
58
59
60def main():

Callers 1

mainFunction · 0.85

Calls 2

fixpathFunction · 0.70
writeMethod · 0.45

Tested by

no test coverage detected