SConscript 413 字节
Newer Older
M
Ming, Bai 已提交
1 2
# for libc component
import os
3 4 5
Import('rtconfig')

from building import *
M
Ming, Bai 已提交
6 7 8

objs = []

9 10 11 12 13 14 15 16
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')
M
Ming, Bai 已提交
17 18

Return('objs')