Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
红岛
rt-thread
提交
c8dcf7cc
R
rt-thread
项目概览
红岛
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c8dcf7cc
编写于
12月 28, 2021
作者:
mysterywolf
提交者:
Bernard Xiong
12月 30, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libc]rename group name
上级
ed09f380
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
17 addition
and
17 deletion
+17
-17
components/drivers/mtd/SConscript
components/drivers/mtd/SConscript
+1
-1
components/libc/compilers/armlibc/SConscript
components/libc/compilers/armlibc/SConscript
+1
-1
components/libc/compilers/armlibc/syscalls.c
components/libc/compilers/armlibc/syscalls.c
+2
-2
components/libc/compilers/common/SConscript
components/libc/compilers/common/SConscript
+1
-1
components/libc/compilers/common/nogcc/SConscript
components/libc/compilers/common/nogcc/SConscript
+1
-1
components/libc/compilers/dlib/SConscript
components/libc/compilers/dlib/SConscript
+1
-1
components/libc/compilers/dlib/syscall_read.c
components/libc/compilers/dlib/syscall_read.c
+1
-1
components/libc/compilers/gcc/newlib/SConscript
components/libc/compilers/gcc/newlib/SConscript
+1
-1
components/libc/compilers/gcc/newlib/legacy/_select/SConscript
...nents/libc/compilers/gcc/newlib/legacy/_select/SConscript
+1
-1
components/libc/compilers/gcc/newlib/syscalls.c
components/libc/compilers/gcc/newlib/syscalls.c
+1
-1
components/libc/posix/io/SConscript
components/libc/posix/io/SConscript
+1
-1
components/libc/posix/io/poll/SConscript
components/libc/posix/io/poll/SConscript
+1
-1
components/libc/posix/ipc/SConscript
components/libc/posix/ipc/SConscript
+1
-1
components/libc/posix/src/SConscript
components/libc/posix/src/SConscript
+1
-1
examples/utest/testcases/kernel/SConscript
examples/utest/testcases/kernel/SConscript
+1
-1
libcpu/arc/common/SConscript
libcpu/arc/common/SConscript
+1
-1
未找到文件。
components/drivers/mtd/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -2,7 +2,7 @@ from building import *
cwd
=
GetCurrentDir
()
src
=
[]
depend
=
[]
depend
=
[
''
]
CPPPATH
=
[
cwd
+
'/../include'
]
group
=
[]
...
...
components/libc/compilers/armlibc/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -7,6 +7,6 @@ group = []
CPPDEFINES
=
[
'RT_USING_ARM_LIBC'
]
if
rtconfig
.
PLATFORM
==
'armcc'
or
rtconfig
.
PLATFORM
==
'armclang'
:
group
=
DefineGroup
(
'
compiler-libc'
,
src
,
depend
=
[
],
CPPDEFINES
=
CPPDEFINES
)
group
=
DefineGroup
(
'
Compiler'
,
src
,
depend
=
[
''
],
CPPDEFINES
=
CPPDEFINES
)
Return
(
'group'
)
components/libc/compilers/armlibc/syscalls.c
浏览文件 @
c8dcf7cc
...
...
@@ -155,7 +155,7 @@ int _sys_read(FILEHANDLE fh, unsigned char *buf, unsigned len, int mode)
#ifdef RT_USING_POSIX_DEVIO
if
(
libc_stdio_get_console
()
<
0
)
{
LOG_W
(
"Do not invoke standard output before initializing
compiler-libc
"
);
LOG_W
(
"Do not invoke standard output before initializing
Compiler
"
);
return
0
;
/* error, but keep going */
}
size
=
read
(
STDIN_FILENO
,
buf
,
len
);
...
...
@@ -354,7 +354,7 @@ int fgetc(FILE *f)
if
(
libc_stdio_get_console
()
<
0
)
{
LOG_W
(
"Do not invoke standard output before initializing
compiler-libc
"
);
LOG_W
(
"Do not invoke standard output before initializing
Compiler
"
);
return
0
;
}
...
...
components/libc/compilers/common/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -12,7 +12,7 @@ if rtconfig.CROSS_TOOL == 'keil':
src
+=
Glob
(
'*.c'
)
group
=
DefineGroup
(
'
compiler-libc'
,
src
,
depend
=
[
],
CPPPATH
=
CPPPATH
,
CPPDEFINES
=
CPPDEFINES
)
group
=
DefineGroup
(
'
Compiler'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
,
CPPDEFINES
=
CPPDEFINES
)
list
=
os
.
listdir
(
cwd
)
for
item
in
list
:
...
...
components/libc/compilers/common/nogcc/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -10,5 +10,5 @@ group = []
src
+=
Glob
(
'*.c'
)
if
rtconfig
.
PLATFORM
!=
'gcc'
or
rtconfig
.
ARCH
==
'sim'
:
group
=
DefineGroup
(
'
compiler-libc'
,
src
,
depend
=
[
],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'
Compiler'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
components/libc/compilers/dlib/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -15,6 +15,6 @@ if rtconfig.PLATFORM == 'iar':
if
LooseVersion
(
IARVersion
())
<
LooseVersion
(
"8.20.1"
):
CPPDEFINES
=
CPPDEFINES
+
[
'_DLIB_THREAD_SUPPORT'
]
group
=
DefineGroup
(
'
compiler-libc'
,
src
,
depend
=
[
],
CPPDEFINES
=
CPPDEFINES
)
group
=
DefineGroup
(
'
Compiler'
,
src
,
depend
=
[
''
],
CPPDEFINES
=
CPPDEFINES
)
Return
(
'group'
)
components/libc/compilers/dlib/syscall_read.c
浏览文件 @
c8dcf7cc
...
...
@@ -42,7 +42,7 @@ size_t __read(int handle, unsigned char *buf, size_t len)
#ifdef RT_USING_POSIX_DEVIO
if
(
libc_stdio_get_console
()
<
0
)
{
LOG_W
(
"Do not invoke standard input before initializing
compiler-libc
"
);
LOG_W
(
"Do not invoke standard input before initializing
Compiler
"
);
return
0
;
/* error, but keep going */
}
return
read
(
STDIN_FILENO
,
buf
,
len
);
/* return the length of the data read */
...
...
components/libc/compilers/gcc/newlib/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -19,7 +19,7 @@ if rtconfig.PLATFORM == 'gcc':
# identify this is Newlib, and only enable POSIX.1-1990
CPPDEFINES
=
[
'RT_USING_NEWLIB'
,
'_POSIX_C_SOURCE=1'
]
group
=
DefineGroup
(
'
compiler-libc'
,
src
,
depend
=
[
],
CPPPATH
=
CPPPATH
,
CPPDEFINES
=
CPPDEFINES
,
LIBS
=
LIBS
)
group
=
DefineGroup
(
'
Compiler'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
,
CPPDEFINES
=
CPPDEFINES
,
LIBS
=
LIBS
)
list
=
os
.
listdir
(
cwd
)
...
...
components/libc/compilers/gcc/newlib/legacy/_select/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -15,6 +15,6 @@ if rtconfig.PLATFORM == 'gcc' and (CheckHeader(rtconfig, 'sys/select.h') == Fals
except
:
pass
group
=
DefineGroup
(
'
libc'
,
src
,
depend
=
[
],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'
Compiler'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
components/libc/compilers/gcc/newlib/syscalls.c
浏览文件 @
c8dcf7cc
...
...
@@ -228,7 +228,7 @@ _ssize_t _read_r(struct _reent *ptr, int fd, void *buf, size_t nbytes)
#ifdef RT_USING_POSIX_DEVIO
if
(
libc_stdio_get_console
()
<
0
)
{
LOG_W
(
"Do not invoke standard input before initializing
compiler-libc
"
);
LOG_W
(
"Do not invoke standard input before initializing
Compiler
"
);
return
0
;
}
#else
...
...
components/libc/posix/io/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -19,7 +19,7 @@ if GetDepend('RT_USING_POSIX_SELECT'):
flag
=
True
if
flag
==
True
:
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
list
=
os
.
listdir
(
cwd
)
for
d
in
list
:
...
...
components/libc/posix/io/poll/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -9,6 +9,6 @@ CPPPATH = [cwd]
if
GetDepend
(
'RT_USING_POSIX_POLL'
):
src
+=
[
'poll.c'
]
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
components/libc/posix/ipc/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -15,6 +15,6 @@ if GetDepend('RT_USING_POSIX_MESSAGE_QUEUE'):
if
GetDepend
(
'RT_USING_POSIX_MESSAGE_SEMAPHORE'
):
src
+=
[
'semaphore.c'
]
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[],
CPPPATH
=
inc
)
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[
''
],
CPPPATH
=
inc
)
Return
(
'group'
)
components/libc/posix/src/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -11,6 +11,6 @@ flag = False
src
+=
[
'unistd.c'
]
#TODO
if
flag
==
True
:
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'POSIX'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
examples/utest/testcases/kernel/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -43,6 +43,6 @@ if GetDepend(['UTEST_THREAD_TC']):
CPPPATH
=
[
cwd
]
group
=
DefineGroup
(
'utestcases'
,
src
,
depend
=
[],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'utestcases'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
libcpu/arc/common/SConscript
浏览文件 @
c8dcf7cc
...
...
@@ -5,6 +5,6 @@ src = Glob('*.c')
CPPPATH
=
[
cwd
]
group
=
DefineGroup
(
'CPU'
,
src
,
depend
=
[],
CPPPATH
=
CPPPATH
)
group
=
DefineGroup
(
'CPU'
,
src
,
depend
=
[
''
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录