update sconscript
This commit is contained in:
parent
9d401ea8b0
commit
bc25c8a6e8
|
@ -2,12 +2,12 @@ from building import *
|
||||||
|
|
||||||
Import('rtconfig')
|
Import('rtconfig')
|
||||||
|
|
||||||
if rtconfig.PLATFORM == 'iar' or rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
|
src = []
|
||||||
src = []
|
cwd = GetCurrentDir()
|
||||||
cwd = GetCurrentDir()
|
CPPPATH = [cwd]
|
||||||
CPPPATH = [cwd]
|
group = []
|
||||||
group = []
|
src += Glob('*.c')
|
||||||
src += Glob('*.c')
|
|
||||||
|
|
||||||
|
if rtconfig.PLATFORM != 'gcc':
|
||||||
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH)
|
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'], CPPPATH = CPPPATH)
|
||||||
Return('group')
|
Return('group')
|
||||||
|
|
Loading…
Reference in New Issue