提交 fd7a65b4 编写于 作者: B Bernard Xiong

[LIBC] remove minilibc when compiling simulator under Linux

上级 255f8b7c
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#ifdef _WIN32
#include <stdlib.h>
#endif
#include <rtthread.h> #include <rtthread.h>
#include <dfs_def.h> #include <dfs_def.h>
......
...@@ -14,7 +14,7 @@ if GetDepend('RT_USING_LIBC'): ...@@ -14,7 +14,7 @@ if GetDepend('RT_USING_LIBC'):
elif rtconfig.PLATFORM == 'iar': elif rtconfig.PLATFORM == 'iar':
objs = objs + SConscript('dlib/SConscript') objs = objs + SConscript('dlib/SConscript')
else: else:
if rtconfig.PLATFORM == 'gcc': if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim':
objs = objs + SConscript('minilibc/SConscript') objs = objs + SConscript('minilibc/SConscript')
Return('objs') Return('objs')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册