summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/nogcc/SConscript
blob: c766c8f82dd1a8fa04959d246a10136039c7c4bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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')