diff options
| author | [email protected] <[email protected]> | 2011-05-23 01:46:59 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-05-23 01:46:59 +0000 |
| commit | 712aacd36744da94182fe2c9e8c0b05f55b3e565 (patch) | |
| tree | ebe8cf3a93bec1e23c26ab7afd455cc2c0ef3518 /tools | |
| parent | fe9f043b55e173d20c00db700c634fe4bbd58804 (diff) | |
update rtconfig.h and SConstruct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1424 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/building.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/building.py b/tools/building.py index 01ca5b1240..1b5715feb4 100644 --- a/tools/building.py +++ b/tools/building.py @@ -343,8 +343,10 @@ def DefineGroup(name, src, depend, **parameters): if group.has_key('LINKFLAGS'):
Env.Append(LINKFLAGS = group['LINKFLAGS'])
- objs = Env.Object(group['src'])
- objs = Env.Library(name, objs)
+ objs = Env.Object(group['src'])
+
+ if group.has_key('LIBRARY'):
+ objs = Env.Library(name, objs)
return objs
|
