[SConscript] change libcpu to LIBARCH,and correcte letter case

This commit is contained in:
yangjie11
2020-11-30 15:45:58 +08:00
parent bec364385c
commit ba83ddc3c4
80 changed files with 80 additions and 80 deletions

View File

@@ -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')

View File

@@ -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')

View File

@@ -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')

View File

@@ -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')