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

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

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

Return('group')