4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 07:39:33 +08:00

19 lines
413 B
Python

# for libc component
import os
Import('rtconfig')
from building import *
objs = []
if GetDepend('RT_USING_LIBC'):
if rtconfig.PLATFORM == 'gcc':
objs = objs + SConscript('newlib/SConscript')
elif rtconfig.PLATFORM == 'armcc':
objs = objs + SConscript('armlibc/SConscript')
else:
if rtconfig.PLATFORM == 'gcc':
objs = objs + SConscript('minilibc/SConscript')
Return('objs')