summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-05-18 01:05:52 +0000
committer[email protected] <[email protected]>2011-05-18 01:05:52 +0000
commit6a27c24e1e25c7cee75e5993c8abff4e780cf364 (patch)
tree821ec48f775c5027f9e3ead819ed8e67c32562e9 /tools
parent9faa3d99892064027af4cb27885283e0c249ee1f (diff)
modify DefineGroup function to return librarys
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1418 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'tools')
-rw-r--r--tools/building.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/building.py b/tools/building.py
index 026e61afb8..01ca5b1240 100644
--- a/tools/building.py
+++ b/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):