Skip to content

Commit 127a09c

Browse files
committed
[NANO130] rollback arm.py
1 parent 2f8e3fb commit 127a09c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/toolchains/arm.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ def compile(self, cc, source, object, includes):
162162

163163
cmd.extend(self.get_dep_option(object))
164164

165-
# Remove '.\' from relative path names of source files. For example, '.\mbed-os\platform\retarget.cpp' will truncate to 'mbed-os\platform\retarget.cpp'.
166-
if source.startswith('.\\'):
167-
source = source[2:]
168-
169165
cmd.extend(["-o", object, source])
170166

171167
# Call cmdline hook

0 commit comments

Comments
 (0)