git-svn-id: https://rt-thread.googlecode.com/svn/trunk@249 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
b26ae3cb60
commit
e8a5648cfe
@ -35,6 +35,9 @@ if rtconfig.RT_USING_DFS:
|
|||||||
if rtconfig.RT_USING_LWIP:
|
if rtconfig.RT_USING_LWIP:
|
||||||
objs = objs + SConscript(RTT_ROOT + '/net/lwip/SConscript', variant_dir='build/net/lwip', duplicate=0)
|
objs = objs + SConscript(RTT_ROOT + '/net/lwip/SConscript', variant_dir='build/net/lwip', duplicate=0)
|
||||||
|
|
||||||
|
if rtconfig.RT_USING_RTGUI:
|
||||||
|
objs = objs + SConscript(RTT_ROOT + '/rtgui/SConscript', variant_dir='build/rtgui', duplicate=0)
|
||||||
|
|
||||||
src_bsp = ['application.c', 'startup.c', 'board.c','led.c']
|
src_bsp = ['application.c', 'startup.c', 'board.c','led.c']
|
||||||
src_drv = ['console.c']
|
src_drv = ['console.c']
|
||||||
|
|
||||||
@ -44,6 +47,9 @@ if rtconfig.RT_USING_DFS:
|
|||||||
if rtconfig.RT_USING_LWIP:
|
if rtconfig.RT_USING_LWIP:
|
||||||
src_drv += ['dm9000.c']
|
src_drv += ['dm9000.c']
|
||||||
|
|
||||||
|
if rtconfig.RT_USING_RTGUI:
|
||||||
|
src_drv += ['touch.c']
|
||||||
|
|
||||||
objs = objs + env.Object(src_bsp + src_drv)
|
objs = objs + env.Object(src_bsp + src_drv)
|
||||||
|
|
||||||
TARGET = target + '.' + rtconfig.TARGET_EXT
|
TARGET = target + '.' + rtconfig.TARGET_EXT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user