summaryrefslogtreecommitdiff
path: root/components/libc/posix/src/SConscript
blob: 87be6b6a0698e3359b94ba96014e428fd3f08cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# RT-Thread building script for component

from building import *

src     = []
cwd     = GetCurrentDir()
CPPPATH = [cwd]
group   = []

flag = False
src += ['unistd.c'] #TODO

if GetDepend('RT_USING_POSIX_DELAY'):
    src += ['delay.c']
    flag = True

if flag == True:
    group = DefineGroup('POSIX', src, depend = [], CPPPATH = CPPPATH)

Return('group')