Skip to content

Commit a007212

Browse files
committed
Remove use of hooks from IAR
Aparantely I missed this previously
1 parent 58867c0 commit a007212

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tools/toolchains/iar.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,6 @@ def assemble(self, source, object, includes):
188188
# Build assemble command
189189
cmd = self.asm + self.get_compile_options(self.get_symbols(True), includes, True) + ["-o", object, source]
190190

191-
# Call cmdline hook
192-
cmd = self.hook.get_cmdline_assembler(cmd)
193-
194191
# Return command array, don't execute
195192
return [cmd]
196193

@@ -204,9 +201,6 @@ def compile(self, cc, source, object, includes):
204201

205202
cmd.extend(["-o", object, source])
206203

207-
# Call cmdline hook
208-
cmd = self.hook.get_cmdline_compiler(cmd)
209-
210204
return [cmd]
211205

212206
def compile_c(self, source, object, includes):
@@ -223,9 +217,6 @@ def link(self, output, objects, libraries, lib_dirs, mem_map):
223217
if mem_map:
224218
cmd.extend(["--config", mem_map])
225219

226-
# Call cmdline hook
227-
cmd = self.hook.get_cmdline_linker(cmd)
228-
229220
if self.RESPONSE_FILES:
230221
# Split link command to linker executable + response file
231222
cmd_linker = cmd[0]

0 commit comments

Comments
 (0)