Cleanup extraneous spaces on empty lines

pull/6713/head
Jimmy Brisson 2018-04-30 09:29:41 -05:00
parent d0e09851ac
commit beb6d7802a
1 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ class ARM(mbedToolchain):
ARM_BIN = join(TOOLCHAIN_PATHS['ARM'], "bin")
ARM_INC = join(TOOLCHAIN_PATHS['ARM'], "include")
main_cc = join(ARM_BIN, "armcc")
self.flags['common'] += ["--cpu=%s" % cpu]
@ -155,7 +155,7 @@ class ARM(mbedToolchain):
dir = join(dirname(object), '.temp')
mkdir(dir)
tempfile = join(dir, basename(object) + '.E.s')
# Build preprocess assemble command
cmd_pre = self.asm
cmd_pre.extend(self.get_compile_options(
@ -168,7 +168,7 @@ class ARM(mbedToolchain):
# Call cmdline hook
cmd_pre = self.hook.get_cmdline_assembler(cmd_pre)
cmd = self.hook.get_cmdline_assembler(cmd)
# Return command array, don't execute
return [cmd_pre, cmd]
@ -176,9 +176,9 @@ class ARM(mbedToolchain):
def compile(self, cc, source, object, includes):
# Build compile command
cmd = cc + self.get_compile_options(self.get_symbols(), includes)
cmd.extend(self.get_dep_option(object))
cmd.extend(["-o", object, source])
# Call cmdline hook