summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-12-28 23:25:16 -0500
committerBernard Xiong <[email protected]>2021-12-30 01:27:25 +0800
commitc8dcf7cc6805bcf5380d524d7a5c44e2ff366128 (patch)
treeb0027ad1dceb2613ca5b4d1d93c0b594d718df88 /components/libc/compilers/dlib
parented09f38012131850cd67c1392554653b56a37341 (diff)
[libc]rename group name
Diffstat (limited to 'components/libc/compilers/dlib')
-rw-r--r--components/libc/compilers/dlib/SConscript2
-rw-r--r--components/libc/compilers/dlib/syscall_read.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/libc/compilers/dlib/SConscript b/components/libc/compilers/dlib/SConscript
index 2c5dbc426d..e11ea65b97 100644
--- a/components/libc/compilers/dlib/SConscript
+++ b/components/libc/compilers/dlib/SConscript
@@ -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')
diff --git a/components/libc/compilers/dlib/syscall_read.c b/components/libc/compilers/dlib/syscall_read.c
index 29941c23db..525db3c98f 100644
--- a/components/libc/compilers/dlib/syscall_read.c
+++ b/components/libc/compilers/dlib/syscall_read.c
@@ -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 */