MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / walk_kconfig

Function walk_kconfig

tools/mkdist.py:80–94  ·  view source on GitHub ↗
(RTT_ROOT, source_list)

Source from the content-addressed store, hash-verified

78 walk_children(item)
79
80def walk_kconfig(RTT_ROOT, source_list):
81 for parent, dirnames, filenames in os.walk(RTT_ROOT):
82 if 'bsp' in parent:
83 continue
84 if '.git' in parent:
85 continue
86 if 'tools' in parent:
87 continue
88
89 if 'Kconfig' in filenames:
90 pathfile = os.path.join(parent, 'Kconfig')
91 source_list.append(pathfile)
92 if 'KConfig' in filenames:
93 pathfile = os.path.join(parent, 'KConfig')
94 source_list.append(pathfile)
95
96def bsp_copy_files(bsp_root, dist_dir):
97 # copy BSP files

Callers

nothing calls this directly

Calls 2

walkMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected