Merge pull request #3052 from theotherjimmy/name-eclipse-exporters

Exporters - Name the eclipse exporters and remove relpath computations
pull/3076/head
Sam Grove 2016-10-19 05:49:46 -05:00 committed by GitHub
commit 9138f62742
1 changed files with 5 additions and 6 deletions

View File

@ -31,21 +31,20 @@ class Eclipse(Makefile):
self.gen_file('cdt/necessary_software.tmpl', ctx,
join('eclipse-extras','necessary_software.p2f'))
cproj = relpath('.cproject',self.export_dir)
self.gen_file('cdt/.cproject.tmpl', ctx,
cproj)
proj = relpath('.project',self.export_dir)
self.gen_file('cdt/.project.tmpl', ctx,
proj)
self.gen_file('cdt/.cproject.tmpl', ctx, '.cproject')
self.gen_file('cdt/.project.tmpl', ctx, '.project')
class EclipseGcc(Eclipse, GccArm):
LOAD_EXE = True
NAME = "Eclipse-GCC-ARM"
class EclipseArmc5(Eclipse, Armc5):
LOAD_EXE = False
NAME = "Eclipse-Armc5"
class EclipseIAR(Eclipse, IAR):
LOAD_EXE = True
NAME = "Eclipse-IAR"