Browse Source

modify DefineGroup function to return librarys

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1418 bbd45198-f89e-11dd-88c7-29a3b14d5316
qiuyiuestc@gmail.com 14 years ago
parent
commit
6a27c24e1e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/building.py

+ 2 - 0
tools/building.py

@@ -344,6 +344,8 @@ def DefineGroup(name, src, depend, **parameters):
         Env.Append(LINKFLAGS = group['LINKFLAGS'])
 
     objs = Env.Object(group['src'])
+    objs = Env.Library(name, objs)
+    
     return objs
 
 def EndBuilding(target):