diff options
| author | BernardXiong <[email protected]> | 2015-05-18 18:16:59 +0800 |
|---|---|---|
| committer | BernardXiong <[email protected]> | 2015-05-18 18:16:59 +0800 |
| commit | 7d73fb8bdbca622142e9802dc7a9a495563638f0 (patch) | |
| tree | b9e96572c375829c2029ec6605e835b76569a5ad /tools | |
| parent | 8de629c0b0408e2bd45f985cbca58bb99cf2f1bf (diff) | |
| parent | 0d1ee90f2815bded610dd96d9a07701b4f83a797 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/buildbot.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/buildbot.py b/tools/buildbot.py index b782dc6028..0567d84fd8 100644 --- a/tools/buildbot.py +++ b/tools/buildbot.py @@ -19,6 +19,17 @@ elif sys.argv[1] == 'clean': command = ' -c' elif sys.argv[1] == 'project': command = ' --target=mdk -s' + + projects = os.listdir(BSP_ROOT) + for item in projects: + project_dir = os.path.join(BSP_ROOT, item) + + if os.path.isfile(os.path.join(project_dir, 'template.uvproj')): + print ('prepare MDK project file on ' + project_dir) + + os.system('scons --directory=' + project_dir + command) + + sys.exit(0) else: usage() sys.exit(0) |
