diff --git a/bsp/mini2440/SConstruct b/bsp/mini2440/SConstruct index 97161e70fe..f94f6db5cf 100644 --- a/bsp/mini2440/SConstruct +++ b/bsp/mini2440/SConstruct @@ -35,6 +35,9 @@ if rtconfig.RT_USING_DFS: if rtconfig.RT_USING_LWIP: 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_drv = ['console.c'] @@ -44,6 +47,9 @@ if rtconfig.RT_USING_DFS: if rtconfig.RT_USING_LWIP: src_drv += ['dm9000.c'] +if rtconfig.RT_USING_RTGUI: + src_drv += ['touch.c'] + objs = objs + env.Object(src_bsp + src_drv) TARGET = target + '.' + rtconfig.TARGET_EXT