summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authorCopilot <[email protected]>2025-11-16 11:40:53 +0800
committerGitHub <[email protected]>2025-11-16 11:40:53 +0800
commit30e1e5e9dcdaff17258edf70b9f9783e08356288 (patch)
treefade0e0a71e52ca881368c6e95d49c461553086b /components/libc
parentae2a5758bc0b18e82680b7beae74877d65ac6f88 (diff)
Reorganize Group names in build system for clarity and IDE integration #10923
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/compilers/armlibc/SConscript2
-rw-r--r--components/libc/compilers/common/SConscript2
-rw-r--r--components/libc/compilers/common/extension/SConscript2
-rw-r--r--components/libc/compilers/common/extension/fcntl/msvc/SConscript2
-rw-r--r--components/libc/compilers/common/extension/fcntl/octal/SConscript2
-rw-r--r--components/libc/compilers/dlib/SConscript2
-rw-r--r--components/libc/compilers/musl/SConscript2
-rw-r--r--components/libc/compilers/newlib/SConscript2
-rw-r--r--components/libc/compilers/picolibc/SConscript2
-rw-r--r--components/libc/posix/delay/SConscript2
-rw-r--r--components/libc/posix/io/aio/SConscript2
-rw-r--r--components/libc/posix/io/epoll/SConscript2
-rw-r--r--components/libc/posix/io/eventfd/SConscript2
-rw-r--r--components/libc/posix/io/mman/SConscript2
-rw-r--r--components/libc/posix/io/poll/SConscript2
-rw-r--r--components/libc/posix/io/signalfd/SConscript2
-rw-r--r--components/libc/posix/io/stdio/SConscript2
-rw-r--r--components/libc/posix/io/termios/SConscript2
-rw-r--r--components/libc/posix/io/timerfd/SConscript2
-rw-r--r--components/libc/posix/ipc/SConscript2
-rw-r--r--components/libc/posix/libdl/SConscript2
-rw-r--r--components/libc/posix/pthreads/SConscript2
-rw-r--r--components/libc/posix/signal/SConscript2
-rw-r--r--components/libc/posix/tls/SConscript2
24 files changed, 24 insertions, 24 deletions
diff --git a/components/libc/compilers/armlibc/SConscript b/components/libc/compilers/armlibc/SConscript
index 4304deecac..50fab1dfd9 100644
--- a/components/libc/compilers/armlibc/SConscript
+++ b/components/libc/compilers/armlibc/SConscript
@@ -7,6 +7,6 @@ group = []
if rtconfig.PLATFORM in ['armcc', 'armclang']:
CPPDEFINES = ['RT_USING_ARMLIBC', 'RT_USING_LIBC', '__STDC_LIMIT_MACROS']
AddDepend(['RT_USING_ARMLIBC', 'RT_USING_LIBC'])
- group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
+ group = DefineGroup('Libc', src, depend = [''], CPPDEFINES = CPPDEFINES)
Return('group')
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript
index bb1abae5d5..362a2644ac 100644
--- a/components/libc/compilers/common/SConscript
+++ b/components/libc/compilers/common/SConscript
@@ -16,7 +16,7 @@ elif rtconfig.PLATFORM in ['gcc'] and rtconfig.CPU in ['posix']:
src += Glob('*.c')
-group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
+group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
list = os.listdir(cwd)
for item in list:
diff --git a/components/libc/compilers/common/extension/SConscript b/components/libc/compilers/common/extension/SConscript
index 58e43dd62e..ed632efac2 100644
--- a/components/libc/compilers/common/extension/SConscript
+++ b/components/libc/compilers/common/extension/SConscript
@@ -10,7 +10,7 @@ group = []
src += Glob('*.c')
if rtconfig.PLATFORM not in ['gcc', 'llvm-arm']:
- group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
+ group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
list = os.listdir(cwd)
for d in list:
diff --git a/components/libc/compilers/common/extension/fcntl/msvc/SConscript b/components/libc/compilers/common/extension/fcntl/msvc/SConscript
index bb1682d1bc..e87326ff86 100644
--- a/components/libc/compilers/common/extension/fcntl/msvc/SConscript
+++ b/components/libc/compilers/common/extension/fcntl/msvc/SConscript
@@ -7,5 +7,5 @@ CPPPATH = [cwd]
group = []
if rtconfig.CROSS_TOOL == 'msvc':
- group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
+ group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/compilers/common/extension/fcntl/octal/SConscript b/components/libc/compilers/common/extension/fcntl/octal/SConscript
index ed9289b825..771e213c8e 100644
--- a/components/libc/compilers/common/extension/fcntl/octal/SConscript
+++ b/components/libc/compilers/common/extension/fcntl/octal/SConscript
@@ -7,5 +7,5 @@ CPPPATH = [cwd]
group = []
if rtconfig.PLATFORM in ['armcc', 'armclang', 'iccarm']:
- group = DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH)
+ group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/compilers/dlib/SConscript b/components/libc/compilers/dlib/SConscript
index 8a7bf8533f..7fa3fef3fb 100644
--- a/components/libc/compilers/dlib/SConscript
+++ b/components/libc/compilers/dlib/SConscript
@@ -17,6 +17,6 @@ if rtconfig.PLATFORM in ['iccarm']:
if iar_version != LooseVersion("0.0") and iar_version < LooseVersion("8.20.1"):
CPPDEFINES = CPPDEFINES + ['_DLIB_THREAD_SUPPORT']
- group = DefineGroup('Compiler', src, depend = [''], CPPDEFINES = CPPDEFINES)
+ group = DefineGroup('Libc', src, depend = [''], CPPDEFINES = CPPDEFINES)
Return('group')
diff --git a/components/libc/compilers/musl/SConscript b/components/libc/compilers/musl/SConscript
index 8c5d0448ae..2b152cb38a 100644
--- a/components/libc/compilers/musl/SConscript
+++ b/components/libc/compilers/musl/SConscript
@@ -19,7 +19,7 @@ if musllibc_version:
LINKFLAGS = ' --specs=kernel.specs'
AddDepend(['RT_USING_MUSLLIBC', 'RT_USING_LIBC'])
- group = group + DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
+ group = group + DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
list = os.listdir(cwd)
for d in list:
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript
index 518fee8775..87b1f3345f 100644
--- a/components/libc/compilers/newlib/SConscript
+++ b/components/libc/compilers/newlib/SConscript
@@ -18,7 +18,7 @@ if newlib_version and not GetDepend('RT_USING_EXTERNAL_LIBC'):
LIBS = ['c', 'm'] # link libc and libm
AddDepend(['RT_USING_NEWLIBC', 'RT_USING_LIBC'])
- group = group + DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
+ group = group + DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
list = os.listdir(cwd)
for d in list:
diff --git a/components/libc/compilers/picolibc/SConscript b/components/libc/compilers/picolibc/SConscript
index c0de465a2f..e5665b7acf 100644
--- a/components/libc/compilers/picolibc/SConscript
+++ b/components/libc/compilers/picolibc/SConscript
@@ -24,7 +24,7 @@ if picolibc_version and not GetDepend('RT_USING_EXTERNAL_LIBC'):
# LIBS = ['c', 'm'] # link libc and libm
AddDepend(['RT_USING_PICOLIBC', 'RT_USING_LIBC'])
- group = group + DefineGroup('Compiler', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)#, LIBS = LIBS)
+ group = group + DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)#, LIBS = LIBS)
list = os.listdir(cwd)
for d in list:
diff --git a/components/libc/posix/delay/SConscript b/components/libc/posix/delay/SConscript
index f587f2dd64..816d417a58 100644
--- a/components/libc/posix/delay/SConscript
+++ b/components/libc/posix/delay/SConscript
@@ -6,6 +6,6 @@ cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_DELAY'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_POSIX_DELAY'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/aio/SConscript b/components/libc/posix/io/aio/SConscript
index 6d4014311c..bcef4d8a71 100644
--- a/components/libc/posix/io/aio/SConscript
+++ b/components/libc/posix/io/aio/SConscript
@@ -6,6 +6,6 @@ cwd = GetCurrentDir()
src = ['aio.c']
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_AIO'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_POSIX_AIO'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/epoll/SConscript b/components/libc/posix/io/epoll/SConscript
index cef3fff8a0..0f765f38da 100644
--- a/components/libc/posix/io/epoll/SConscript
+++ b/components/libc/posix/io/epoll/SConscript
@@ -9,6 +9,6 @@ CPPPATH = [cwd]
if GetDepend('RT_USING_POSIX_EPOLL'):
src += ['epoll.c']
-group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/eventfd/SConscript b/components/libc/posix/io/eventfd/SConscript
index b4becfce4b..481f332ac5 100644
--- a/components/libc/posix/io/eventfd/SConscript
+++ b/components/libc/posix/io/eventfd/SConscript
@@ -9,6 +9,6 @@ CPPPATH = [cwd]
if GetDepend('RT_USING_POSIX_EVENTFD'):
src += ['eventfd.c']
-group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/mman/SConscript b/components/libc/posix/io/mman/SConscript
index 7dd096c998..1041c5e240 100644
--- a/components/libc/posix/io/mman/SConscript
+++ b/components/libc/posix/io/mman/SConscript
@@ -6,6 +6,6 @@ cwd = GetCurrentDir()
src = ['mman.c']
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_MMAN'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_POSIX_MMAN'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/poll/SConscript b/components/libc/posix/io/poll/SConscript
index 7e7c0f55f7..9ccc5425c1 100644
--- a/components/libc/posix/io/poll/SConscript
+++ b/components/libc/posix/io/poll/SConscript
@@ -12,6 +12,6 @@ if GetDepend('RT_USING_POSIX_POLL'):
if GetDepend('RT_USING_POSIX_SELECT'):
src += ['select.c']
-group = DefineGroup('POSIX', src, depend = [''], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/signalfd/SConscript b/components/libc/posix/io/signalfd/SConscript
index 724453b099..9651a118e6 100644
--- a/components/libc/posix/io/signalfd/SConscript
+++ b/components/libc/posix/io/signalfd/SConscript
@@ -9,6 +9,6 @@ CPPPATH = [cwd]
if GetDepend('RT_USING_POSIX_SIGNALFD'):
src += ['signalfd.c']
-group = DefineGroup('POSIX', src, depend = ['RT_USING_SMART','RT_USING_POSIX_SIGNALFD'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_SMART','RT_USING_POSIX_SIGNALFD'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/stdio/SConscript b/components/libc/posix/io/stdio/SConscript
index 8180c9b0b8..f57164ff43 100644
--- a/components/libc/posix/io/stdio/SConscript
+++ b/components/libc/posix/io/stdio/SConscript
@@ -1,6 +1,6 @@
from building import *
src = ['stdio.c']
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_STDIO'], CPPPATH = [GetCurrentDir()])
+group = DefineGroup('Libc', src, depend = ['RT_USING_POSIX_STDIO'], CPPPATH = [GetCurrentDir()])
Return('group')
diff --git a/components/libc/posix/io/termios/SConscript b/components/libc/posix/io/termios/SConscript
index 68bd9d81c9..14116b2737 100644
--- a/components/libc/posix/io/termios/SConscript
+++ b/components/libc/posix/io/termios/SConscript
@@ -6,6 +6,6 @@ cwd = GetCurrentDir()
src = ['termios.c']
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_TERMIOS'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_POSIX_TERMIOS'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/io/timerfd/SConscript b/components/libc/posix/io/timerfd/SConscript
index 561d00c13c..ca9c641e71 100644
--- a/components/libc/posix/io/timerfd/SConscript
+++ b/components/libc/posix/io/timerfd/SConscript
@@ -9,6 +9,6 @@ CPPPATH = [cwd]
if GetDepend('RT_USING_DFS'):
src += ['timerfd.c']
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_TIMERFD'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_POSIX_TIMERFD'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/ipc/SConscript b/components/libc/posix/ipc/SConscript
index bee46adf19..7ffac84bb9 100644
--- a/components/libc/posix/ipc/SConscript
+++ b/components/libc/posix/ipc/SConscript
@@ -15,6 +15,6 @@ if GetDepend(['RT_USING_POSIX_MESSAGE_QUEUE', 'RT_USING_DFS_MQUEUE']):
if GetDepend('RT_USING_POSIX_MESSAGE_SEMAPHORE'):
src += ['semaphore.c']
-group = DefineGroup('POSIX', src, depend = [''], CPPPATH = inc)
+group = DefineGroup('Libc', src, depend = [''], CPPPATH = inc)
Return('group')
diff --git a/components/libc/posix/libdl/SConscript b/components/libc/posix/libdl/SConscript
index 146253909f..cf6648a4a9 100644
--- a/components/libc/posix/libdl/SConscript
+++ b/components/libc/posix/libdl/SConscript
@@ -7,6 +7,6 @@ group = []
CPPPATH = [cwd]
if rtconfig.PLATFORM in ['gcc']:
- group = DefineGroup('POSIX', src, depend = ['RT_USING_MODULE'], CPPPATH = CPPPATH)
+ group = DefineGroup('Libc', src, depend = ['RT_USING_MODULE'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/pthreads/SConscript b/components/libc/posix/pthreads/SConscript
index adcd07ee49..6306da467f 100644
--- a/components/libc/posix/pthreads/SConscript
+++ b/components/libc/posix/pthreads/SConscript
@@ -4,6 +4,6 @@ cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/posix/signal/SConscript b/components/libc/posix/signal/SConscript
index eb0b103baf..d4089df6dd 100644
--- a/components/libc/posix/signal/SConscript
+++ b/components/libc/posix/signal/SConscript
@@ -6,7 +6,7 @@ cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src,
+group = DefineGroup('Libc', src,
depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS'],
CPPPATH = CPPPATH)
diff --git a/components/libc/posix/tls/SConscript b/components/libc/posix/tls/SConscript
index adcd07ee49..6306da467f 100644
--- a/components/libc/posix/tls/SConscript
+++ b/components/libc/posix/tls/SConscript
@@ -4,6 +4,6 @@ cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
+group = DefineGroup('Libc', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
Return('group')