[Tools] Add $ var support in IAR project file.
This commit is contained in:
parent
e7f888e24b
commit
5c6a6e5db8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue