Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-tools by
Revision 24:bea8f5fa1bcc, committed 2018-02-18
- Comitter:
- screamer
- Date:
- Sun Feb 18 21:21:55 2018 +0000
- Parent:
- 23:2ab6588f853c
- Parent:
- 21:b44960d78246
- Commit message:
- Merge
Changed in this revision
--- a/toolchains/gcc.py Sun Feb 18 20:46:01 2018 +0000 +++ b/toolchains/gcc.py Sun Feb 18 21:21:55 2018 +0000 @@ -101,7 +101,9 @@ def parse_dependencies(self, dep_path): dependencies = [] - for line in open(dep_path).readlines()[1:]: + buff = open(dep_path).readlines() + buff[0] = re.sub('^(.*?)\: ', '', buff[0]) + for line in buff: file = line.replace('\\\n', '').strip() if file: # GCC might list more than one dependency on a single line, in this case