Skip to content

Commit 9138f62

Browse files
authored
Merge pull request #3052 from theotherjimmy/name-eclipse-exporters
Exporters - Name the eclipse exporters and remove relpath computations
2 parents 026e880 + c64446d commit 9138f62

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tools/export/cdt/__init__.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,20 @@ 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):
4339
LOAD_EXE = True
40+
NAME = "Eclipse-GCC-ARM"
4441

4542
class EclipseArmc5(Eclipse, Armc5):
4643
LOAD_EXE = False
44+
NAME = "Eclipse-Armc5"
4745

4846
class EclipseIAR(Eclipse, IAR):
4947
LOAD_EXE = True
48+
NAME = "Eclipse-IAR"
5049

5150

0 commit comments

Comments
 (0)