summaryrefslogtreecommitdiff
path: root/components/libc/compilers/gcc
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/gcc
parented09f38012131850cd67c1392554653b56a37341 (diff)
[libc]rename group name
Diffstat (limited to 'components/libc/compilers/gcc')
-rw-r--r--components/libc/compilers/gcc/newlib/SConscript2
-rw-r--r--components/libc/compilers/gcc/newlib/legacy/_select/SConscript2
-rw-r--r--components/libc/compilers/gcc/newlib/syscalls.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/libc/compilers/gcc/newlib/SConscript b/components/libc/compilers/gcc/newlib/SConscript
index 7a2be2e781..8076a73727 100644
--- a/components/libc/compilers/gcc/newlib/SConscript
+++ b/components/libc/compilers/gcc/newlib/SConscript
@@ -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)
diff --git a/components/libc/compilers/gcc/newlib/legacy/_select/SConscript b/components/libc/compilers/gcc/newlib/legacy/_select/SConscript
index 1c6a22b869..b7bd86a36c 100644
--- a/components/libc/compilers/gcc/newlib/legacy/_select/SConscript
+++ b/components/libc/compilers/gcc/newlib/legacy/_select/SConscript
@@ -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')
diff --git a/components/libc/compilers/gcc/newlib/syscalls.c b/components/libc/compilers/gcc/newlib/syscalls.c
index 65dece0d02..6a2e99d512 100644
--- a/components/libc/compilers/gcc/newlib/syscalls.c
+++ b/components/libc/compilers/gcc/newlib/syscalls.c
@@ -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