mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 02:06:14 +08:00
Merge pull request #376 from grissiom/tools-next
SCons: allow set object files in DefineGroup
This commit is contained in:
+3
-2
@@ -364,9 +364,10 @@ def DefineGroup(name, src, depend, **parameters):
|
||||
if group.has_key('LIBPATH'):
|
||||
Env.Append(LIBPATH = group['LIBPATH'])
|
||||
|
||||
objs = Env.Object(group['src'])
|
||||
if group.has_key('LIBRARY'):
|
||||
objs = Env.Library(name, objs)
|
||||
objs = Env.Library(name, group['src'])
|
||||
else:
|
||||
objs = group['src']
|
||||
|
||||
# merge group
|
||||
for g in Projects:
|
||||
|
||||
Reference in New Issue
Block a user