export make - Surround all command line stuff with quotes.

Should eliminate any space-in-path issues
pull/2577/head
Jimmy Brisson 2016-09-09 12:51:31 -05:00
parent a3ee5edde5
commit e507b9e1c6
1 changed files with 8 additions and 4 deletions

View File

@ -59,10 +59,14 @@ class Makefile(Exporter):
if (basename(dirname(dirname(self.export_dir)))
== "projectfiles")
else [".."]),
'cc_cmd': " ".join(self.toolchain.cc),
'cppc_cmd': " ".join(self.toolchain.cppc),
'asm_cmd': " ".join(self.toolchain.asm),
'ld_cmd': " ".join(self.toolchain.ld),
'cc_cmd': " ".join(["\"" + part + "\"" for part
in self.toolchain.cc]),
'cppc_cmd': " ".join(["\"" + part + "\"" for part
in self.toolchain.cppc]),
'asm_cmd': " ".join(["\"" + part + "\"" for part
in self.toolchain.asm]),
'ld_cmd': " ".join(["\"" + part + "\"" for part
in self.toolchain.ld]),
'elf2bin_cmd': self.toolchain.elf2bin,
'link_script_ext': self.toolchain.LINKER_EXT,
'link_script_option': self.LINK_SCRIPT_OPTION,