summaryrefslogtreecommitdiff
path: root/components/libc/libdl/SConscript
blob: 28265521f6cc28587f8e35fb560cfa931f4611e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from building import *
Import('rtconfig')

src = Glob('*.c') + Glob('*.cpp') + Glob('arch/*.c')
cwd = GetCurrentDir()
group   = []
CPPPATH = [cwd]

if rtconfig.PLATFORM == 'gcc':
    group = DefineGroup('LIBC', src, 
        depend = ['RT_USING_MODULE'], 
        CPPPATH = CPPPATH)

Return('group')