blob: 43575520172e204112ee0cd5dde0ea7c0e6543f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# for module compile
Import('env')
Import('rtconfig')
# build each components
objs = ''
if rtconfig.RT_USING_MINILIBC:
objs = objs + SConscript('libc/minilibc/SConscript')
if rtconfig.RT_USING_FINSH:
objs = objs + SConscript('finsh/SConscript')
if rtconfig.RT_USING_DFS:
objs = objs + SConscript('dfs/SConscript')
if rtconfig.RT_USING_LWIP:
objs = objs + SConscript('net/lwip/SConscript')
if rtconfig.RT_USING_RTGUI:
objs = objs + SConscript('rtgui/SConscript')
# build each modules
if rtconfig.CROSS_TOOL == 'gcc':
SConscript('hello/SConscript')
SConscript('thread/SConscript')
Return('objs')
|