rt-thread/components/libc/SConscript

24 lines
623 B
Python
Raw Normal View History

2013-01-08 22:40:58 +08:00
# for libc component
import os
Import('rtconfig')
from building import *
2013-01-08 22:40:58 +08:00
objs = []
if GetDepend('RT_USING_LIBC'):
if rtconfig.PLATFORM == 'gcc':
objs = objs + SConscript('newlib/SConscript')
elif rtconfig.PLATFORM == 'armcc':
objs = objs + SConscript('armlibc/SConscript')
elif rtconfig.PLATFORM == 'iar':
objs = objs + SConscript('dlib/SConscript')
else:
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim':
objs = objs + SConscript('minilibc/SConscript')
2013-01-08 22:40:58 +08:00
objs = objs + SConscript('pthreads/SConscript')
objs = objs + SConscript('libdl/SConscript')
2013-01-08 22:40:58 +08:00
Return('objs')