From 3697dedb78df9b955c140378a94e4f537fa3633d Mon Sep 17 00:00:00 2001 From: Jimmy Brisson Date: Wed, 6 Jul 2016 13:54:33 -0500 Subject: [PATCH] Reverse order of relativizing paths and unixifing paths 'cause windows silly path separator is the same as the escape character --- tools/export/gccarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/export/gccarm.py b/tools/export/gccarm.py index be1b424e44..88efe21b59 100644 --- a/tools/export/gccarm.py +++ b/tools/export/gccarm.py @@ -132,9 +132,9 @@ class GccArm(Exporter): def generate(self): # "make" wants Unix paths - self.resources.win_to_unix() if self.sources_relative: self.resources.relative_to(self.prj_paths[0]) + self.resources.win_to_unix() to_be_compiled = [] for r_type in ['s_sources', 'c_sources', 'cpp_sources']: