mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 10:03:30 +08:00
a141589522
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@645 bbd45198-f89e-11dd-88c7-29a3b14d5316
32 lines
727 B
Python
32 lines
727 B
Python
# 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_MODBUS:
|
|
objs = objs + SConscript('net//freemodbus/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')
|