未验证 提交 c6b7d14b 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3060 from hollylee/hollylee-patch-gccroot

Hollylee patch gccroot
......@@ -46,6 +46,24 @@ def CheckHeader(rtconfig, filename):
if os.path.isfile(fn):
return True
# Usually the cross compiling gcc toolchain has directory as:
#
# bin
# lib
# share
# arm-none-eabi
# bin
# include
# lib
# share
prefix = rtconfig.PREFIX
if prefix.endswith('-'):
prefix = prefix[:-1]
fn = os.path.join(root, prefix, 'include', filename)
if os.path.isfile(fn):
return True
return False
def GetNewLibVersion(rtconfig):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册