diff options
| author | Copilot <[email protected]> | 2025-11-16 11:40:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-16 11:40:53 +0800 |
| commit | 30e1e5e9dcdaff17258edf70b9f9783e08356288 (patch) | |
| tree | fade0e0a71e52ca881368c6e95d49c461553086b /components/libc/compilers | |
| parent | ae2a5758bc0b18e82680b7beae74877d65ac6f88 (diff) | |
Reorganize Group names in build system for clarity and IDE integration #10923
Diffstat (limited to 'components/libc/compilers')
9 files changed, 9 insertions, 9 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: |
