diff options
| author | bernard <[email protected]> | 2017-10-10 16:52:15 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-10 16:52:15 +0800 |
| commit | 5c6a6e5db825905befa9ca903aa557ea3577b7af (patch) | |
| tree | cfd1fa5184d05d2a6b38717403c01cb4565819cf /tools/iar.py | |
| parent | e7f888e24b450488d86cb495716b65d2997008a9 (diff) | |
[Tools] Add $ var support in IAR project file.
Diffstat (limited to 'tools/iar.py')
| -rw-r--r-- | tools/iar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iar.py b/tools/iar.py index fda3fd8768..115ac72911 100644 --- a/tools/iar.py +++ b/tools/iar.py @@ -118,7 +118,7 @@ def IARProject(target, script): if name.text == 'CCIncludePath2' or name.text == 'newCCIncludePaths': for path in paths: state = SubElement(option, 'state') - if os.path.isabs(path): + if os.path.isabs(path) or path.startswith('$'): state.text = path else: state.text = '$PROJ_DIR$\\' + path |
