Skip to content

Commit d4a3ba8

Browse files
bridadanadbridge
authored andcommitted
Removing extra paths for standard the library for the ARM compiler
1 parent 77dccea commit d4a3ba8

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

tools/toolchains/arm.py

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ def __init__(self, target, notify=None, macros=None,
6161

6262
self.flags['common'] += ["--cpu=%s" % cpu]
6363

64-
self.asm = [main_cc] + self.flags['common'] + self.flags['asm'] + ["-I \""+ARM_INC+"\""]
65-
self.cc = [main_cc] + self.flags['common'] + self.flags['c'] + ["-I \""+ARM_INC+"\""]
66-
self.cppc = [main_cc] + self.flags['common'] + self.flags['c'] + self.flags['cxx'] + ["-I \""+ARM_INC+"\""]
64+
self.asm = [main_cc] + self.flags['common'] + self.flags['asm']
65+
self.cc = [main_cc] + self.flags['common'] + self.flags['c']
66+
self.cppc = [main_cc] + self.flags['common'] + self.flags['c'] + self.flags['cxx']
6767

6868
self.ld = [join(ARM_BIN, "armlink")]
6969
self.sys_libs = []
@@ -223,22 +223,8 @@ def binary(self, resources, elf, bin):
223223

224224

225225
class ARM_STD(ARM):
226-
def __init__(self, target, notify=None, macros=None,
227-
silent=False, extra_verbose=False, build_profile=None):
228-
ARM.__init__(self, target, notify, macros, silent,
229-
extra_verbose=extra_verbose, build_profile=build_profile)
230-
231-
# Run-time values
232-
self.ld.extend(["--libpath", join(TOOLCHAIN_PATHS['ARM'], "lib")])
226+
pass
233227

234228

235229
class ARM_MICRO(ARM):
236230
PATCHED_LIBRARY = False
237-
238-
def __init__(self, target, notify=None, macros=None,
239-
silent=False, extra_verbose=False, build_profile=None):
240-
ARM.__init__(self, target, notify, macros, silent,
241-
extra_verbose=extra_verbose, build_profile=build_profile)
242-
243-
# Run-time values
244-
self.ld.extend(["--libpath", join(TOOLCHAIN_PATHS['ARM'], "lib")])

0 commit comments

Comments
 (0)