16 lines
304 B
Python
16 lines
304 B
Python
from building import *
|
|
|
|
Import('rtconfig')
|
|
|
|
src = []
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd]
|
|
group = []
|
|
|
|
if GetDepend('RT_USING_LIBC'):
|
|
src += Glob('*.c')
|
|
|
|
if rtconfig.PLATFORM != 'gcc' or rtconfig.ARCH == 'sim':
|
|
group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH)
|
|
Return('group')
|