summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
authoryangjie11 <[email protected]>2020-11-30 15:45:58 +0800
committeryangjie11 <[email protected]>2020-11-30 15:52:43 +0800
commitba83ddc3c4e2fc16865b43f87081ab403a4941a9 (patch)
tree2805acce66288857cd4bd9b063a86587dc1595ca /components/libc
parentbec364385c6509210dc17f15fde0885b4ce9491d (diff)
[SConscript] change libcpu to LIBARCH,and correcte letter case
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/minilibc/SConscript2
-rw-r--r--components/libc/compilers/newlib/SConscript2
-rw-r--r--components/libc/getline/SConscript2
-rw-r--r--components/libc/libdl/SConscript2
-rw-r--r--components/libc/mmap/SConscript2
-rw-r--r--components/libc/signal/SConscript2
-rw-r--r--components/libc/termios/SConscript2
9 files changed, 9 insertions, 9 deletions
diff --git a/components/libc/compilers/armlibc/SConscript b/components/libc/compilers/armlibc/SConscript
index 2d366901c4..5f8f65a563 100644
--- a/components/libc/compilers/armlibc/SConscript
+++ b/components/libc/compilers/armlibc/SConscript
@@ -15,7 +15,7 @@ if GetDepend('RT_USING_MODULE') == False:
SrcRemove(src, ['libc_syms.c'])
if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
- group = DefineGroup('Libc', src, depend = ['RT_USING_LIBC'],
+ group = DefineGroup('LIBC', src, depend = ['RT_USING_LIBC'],
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')
diff --git a/components/libc/compilers/common/SConscript b/components/libc/compilers/common/SConscript
index 21a49d9c57..f661a1ee0d 100644
--- a/components/libc/compilers/common/SConscript
+++ b/components/libc/compilers/common/SConscript
@@ -17,6 +17,6 @@ if GetDepend('RT_USING_POSIX') == False:
SrcRemove(src, ['unistd.c'])
if not GetDepend('RT_USING_MINILIBC') and (GetDepend('RT_USING_LIBC') or GetDepend('RT_LIBC_USING_TIME')):
- group = DefineGroup('Libc', src, depend = [''], CPPPATH = CPPPATH)
+ group = DefineGroup('LIBC', src, depend = [''], CPPPATH = CPPPATH)
Return('group')
diff --git a/components/libc/compilers/minilibc/SConscript b/components/libc/compilers/minilibc/SConscript
index efdcf5d097..cdaf9ec32b 100644
--- a/components/libc/compilers/minilibc/SConscript
+++ b/components/libc/compilers/minilibc/SConscript
@@ -9,7 +9,7 @@ CPPPATH = [cwd]
CPPDEFINES = ['RT_USING_MINILIBC']
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim' and not GetDepend('RT_USING_LIBC') and GetDepend('RT_USING_MINILIBC'):
- group = DefineGroup('Libc', src, depend = [''],
+ group = DefineGroup('LIBC', src, depend = [''],
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')
diff --git a/components/libc/compilers/newlib/SConscript b/components/libc/compilers/newlib/SConscript
index bd444ab732..11de59bec4 100644
--- a/components/libc/compilers/newlib/SConscript
+++ b/components/libc/compilers/newlib/SConscript
@@ -15,7 +15,7 @@ CPPDEFINES = ['RT_USING_NEWLIB']
LIBS = ['c', 'm']
if rtconfig.PLATFORM == 'gcc':
- group = DefineGroup('Newlib', src, depend = ['RT_USING_LIBC'],
+ group = DefineGroup('NewLIB', src, depend = ['RT_USING_LIBC'],
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
Return('group')
diff --git a/components/libc/getline/SConscript b/components/libc/getline/SConscript
index f85843dada..6c9a2a164c 100644
--- a/components/libc/getline/SConscript
+++ b/components/libc/getline/SConscript
@@ -6,7 +6,7 @@ cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
-group = DefineGroup('Libc', src,
+group = DefineGroup('LIBC', src,
depend = ['RT_USING_LIBC', 'RT_USING_POSIX','RT_USING_POSIX_GETLINE'],
CPPPATH = CPPPATH)
diff --git a/components/libc/libdl/SConscript b/components/libc/libdl/SConscript
index 05efab351c..28265521f6 100644
--- a/components/libc/libdl/SConscript
+++ b/components/libc/libdl/SConscript
@@ -7,7 +7,7 @@ group = []
CPPPATH = [cwd]
if rtconfig.PLATFORM == 'gcc':
- group = DefineGroup('Libc', src,
+ group = DefineGroup('LIBC', src,
depend = ['RT_USING_MODULE'],
CPPPATH = CPPPATH)
diff --git a/components/libc/mmap/SConscript b/components/libc/mmap/SConscript
index 0b84003241..53036ad436 100644
--- a/components/libc/mmap/SConscript
+++ b/components/libc/mmap/SConscript
@@ -6,7 +6,7 @@ cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
-group = DefineGroup('Libc', src,
+group = DefineGroup('LIBC', src,
depend = ['RT_USING_DFS', 'RT_USING_POSIX_MMAP'],
CPPPATH = CPPPATH)
diff --git a/components/libc/signal/SConscript b/components/libc/signal/SConscript
index 407d60c728..f32a1221ea 100644
--- a/components/libc/signal/SConscript
+++ b/components/libc/signal/SConscript
@@ -6,7 +6,7 @@ cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
-group = DefineGroup('Libc', src,
+group = DefineGroup('LIBC', src,
depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS', 'RT_USING_LIBC'],
CPPPATH = CPPPATH)
diff --git a/components/libc/termios/SConscript b/components/libc/termios/SConscript
index 977ff7e0a2..4bd0a42eb8 100644
--- a/components/libc/termios/SConscript
+++ b/components/libc/termios/SConscript
@@ -6,7 +6,7 @@ cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd]
-group = DefineGroup('Libc', src,
+group = DefineGroup('LIBC', src,
depend = ['RT_USING_LIBC', 'RT_USING_POSIX', 'RT_USING_POSIX_TERMIOS'],
CPPPATH = CPPPATH)