@@ -152,7 +152,7 @@ def build_library(src_paths, build_path, target, toolchain_name,
152
152
toolchain .build_library (objects , bin_path , name )
153
153
154
154
155
- def build_lib (lib_id , target , toolchain , options = None , verbose = False , clean = False , macros = None , notify = None ):
155
+ def build_lib (lib_id , target , toolchain , options = None , verbose = False , clean = False , macros = None , notify = None , jobs = 1 ):
156
156
lib = Library (lib_id )
157
157
if lib .is_supported (target , toolchain ):
158
158
# We need to combine macros from parameter list with macros from library definition
@@ -162,7 +162,7 @@ def build_lib(lib_id, target, toolchain, options=None, verbose=False, clean=Fals
162
162
163
163
build_library (lib .source_dir , lib .build_dir , target , toolchain ,
164
164
lib .dependencies , options ,
165
- verbose = verbose , clean = clean , macros = MACROS , notify = notify , inc_dirs = lib .inc_dirs )
165
+ verbose = verbose , clean = clean , macros = MACROS , notify = notify , inc_dirs = lib .inc_dirs , jobs = jobs )
166
166
else :
167
167
print 'Library "%s" is not yet supported on target %s with toolchain %s' % (lib_id , target .name , toolchain )
168
168
0 commit comments