add module building script.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@626 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong 2010-04-16 06:19:24 +00:00
parent 0d7a1c0be7
commit d7caff4d06

View File

@ -70,3 +70,7 @@ objs = objs + env.Object(src_bsp + src_drv)
TARGET = target + '.' + rtconfig.TARGET_EXT
env.Program(TARGET, objs)
env.AddPostAction(TARGET, rtconfig.POST_ACTION)
if rtconfig.CROSS_TOOL == 'gcc':
Repository('../../components')
SConscript('SConscript')