(RTT_ROOT, source_list)
| 78 | walk_children(item) |
| 79 | |
| 80 | def 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 | |
| 96 | def bsp_copy_files(bsp_root, dist_dir): |
| 97 | # copy BSP files |