Update SConscript

This commit is contained in:
Urey 2016-07-13 10:49:21 +08:00 committed by GitHub
parent 108ba3b371
commit 6d14e1390c
1 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,10 @@ else:
if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim': if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim':
objs = objs + SConscript('minilibc/SConscript') objs = objs + SConscript('minilibc/SConscript')
objs = objs + SConscript('pthreads/SConscript') if GetDepend('RT_USING_LIBC') and GetDepend('RT_USING_PTHREADS'):
objs = objs + SConscript('libdl/SConscript') objs = objs + SConscript('pthreads/SConscript')
if GetDepend('RT_USING_MODULE') and GetDepend('RT_USING_LIBDL'):
objs = objs + SConscript('libdl/SConscript')
Return('objs') Return('objs')