Skip to content

Commit 3697ded

Browse files
committed
Reverse order of relativizing paths and unixifing paths
'cause windows silly path separator is the same as the escape character
1 parent 3cf8bfb commit 3697ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/export/gccarm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ class GccArm(Exporter):
132132

133133
def generate(self):
134134
# "make" wants Unix paths
135-
self.resources.win_to_unix()
136135
if self.sources_relative:
137136
self.resources.relative_to(self.prj_paths[0])
137+
self.resources.win_to_unix()
138138

139139
to_be_compiled = []
140140
for r_type in ['s_sources', 'c_sources', 'cpp_sources']:

0 commit comments

Comments
 (0)