mirror of https://github.com/ARMmbed/mbed-os.git
parent
58867c052e
commit
a007212602
|
|
@ -188,9 +188,6 @@ class IAR(mbedToolchain):
|
||||||
# Build assemble command
|
# Build assemble command
|
||||||
cmd = self.asm + self.get_compile_options(self.get_symbols(True), includes, True) + ["-o", object, source]
|
cmd = self.asm + self.get_compile_options(self.get_symbols(True), includes, True) + ["-o", object, source]
|
||||||
|
|
||||||
# Call cmdline hook
|
|
||||||
cmd = self.hook.get_cmdline_assembler(cmd)
|
|
||||||
|
|
||||||
# Return command array, don't execute
|
# Return command array, don't execute
|
||||||
return [cmd]
|
return [cmd]
|
||||||
|
|
||||||
|
|
@ -204,9 +201,6 @@ class IAR(mbedToolchain):
|
||||||
|
|
||||||
cmd.extend(["-o", object, source])
|
cmd.extend(["-o", object, source])
|
||||||
|
|
||||||
# Call cmdline hook
|
|
||||||
cmd = self.hook.get_cmdline_compiler(cmd)
|
|
||||||
|
|
||||||
return [cmd]
|
return [cmd]
|
||||||
|
|
||||||
def compile_c(self, source, object, includes):
|
def compile_c(self, source, object, includes):
|
||||||
|
|
@ -223,9 +217,6 @@ class IAR(mbedToolchain):
|
||||||
if mem_map:
|
if mem_map:
|
||||||
cmd.extend(["--config", mem_map])
|
cmd.extend(["--config", mem_map])
|
||||||
|
|
||||||
# Call cmdline hook
|
|
||||||
cmd = self.hook.get_cmdline_linker(cmd)
|
|
||||||
|
|
||||||
if self.RESPONSE_FILES:
|
if self.RESPONSE_FILES:
|
||||||
# Split link command to linker executable + response file
|
# Split link command to linker executable + response file
|
||||||
cmd_linker = cmd[0]
|
cmd_linker = cmd[0]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue