浏览代码

add the search path to right place for IAR(M16C)

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2188 bbd45198-f89e-11dd-88c7-29a3b14d5316
dzzxzz@gmail.com 13 年之前
父节点
当前提交
6c19a26481
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/iar.py

+ 1 - 1
tools/iar.py

@@ -88,7 +88,7 @@ def IARProject(target, script):
         # print option.text
         # print option.text
         name = option.find('name')
         name = option.find('name')
         
         
-        if name.text == 'CCIncludePath2':
+        if name.text == 'CCIncludePath2' or name.text == 'newCCIncludePaths':
             for path in paths:
             for path in paths:
                 state = SubElement(option, 'state')
                 state = SubElement(option, 'state')
                 state.text = '$PROJ_DIR$\\' + path
                 state.text = '$PROJ_DIR$\\' + path