Skip to content

Commit 81df273

Browse files
committed
Move sys_libs into mbedToolchain class
1 parent ccab2c5 commit 81df273

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/toolchains/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ def __init__(self, target, notify=None, macros=None, silent=False, extra_verbose
266266
# Toolchain flags
267267
self.flags = deepcopy(build_profile or self.profile_template)
268268

269+
# System libraries provided by the toolchain
270+
self.sys_libs = []
271+
269272
# User-defined macros
270273
self.macros = macros or []
271274

tools/toolchains/arm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def __init__(self, target, notify=None, macros=None,
6666
self.cppc = [main_cc] + self.flags['common'] + self.flags['c'] + self.flags['cxx']
6767

6868
self.ld = [join(ARM_BIN, "armlink")]
69-
self.sys_libs = []
7069

7170
self.ar = join(ARM_BIN, "armar")
7271
self.elf2bin = join(ARM_BIN, "fromelf")

0 commit comments

Comments
 (0)