Skip to content

Commit c64446d

Browse files
committed
Remove unneeded relpath calculations
1 parent 2912522 commit c64446d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tools/export/cdt/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,8 @@ def generate(self):
3131
self.gen_file('cdt/necessary_software.tmpl', ctx,
3232
join('eclipse-extras','necessary_software.p2f'))
3333

34-
cproj = relpath('.cproject',self.export_dir)
35-
self.gen_file('cdt/.cproject.tmpl', ctx,
36-
cproj)
37-
proj = relpath('.project',self.export_dir)
38-
self.gen_file('cdt/.project.tmpl', ctx,
39-
proj)
34+
self.gen_file('cdt/.cproject.tmpl', ctx, '.cproject')
35+
self.gen_file('cdt/.project.tmpl', ctx, '.project')
4036

4137

4238
class EclipseGcc(Eclipse, GccArm):

0 commit comments

Comments
 (0)