Clone of official tools
Diff: export/emblocks.py
- Revision:
- 13:ab47a20b66f0
- Parent:
- 0:66f3b5499f7f
- Child:
- 31:8ea194f6145b
--- a/export/emblocks.py Tue Jun 14 11:33:06 2016 +0100 +++ b/export/emblocks.py Thu Jul 14 20:21:19 2016 +0100 @@ -31,6 +31,8 @@ # we support all GCC targets (is handled on IDE side) TARGETS = gccTargets + MBED_CONFIG_HEADER_SUPPORTED = True + FILE_TYPES = { 'headers': 'h', 'c_sources': 'c', @@ -69,9 +71,9 @@ 'symbols': self.get_symbols(), 'object_files': self.resources.objects, 'sys_libs': self.toolchain.sys_libs, - 'cc_org': self.toolchain.cc[1:], - 'ld_org': self.toolchain.ld[1:], - 'cppc_org': self.toolchain.cppc[1:] + 'cc_org': self.flags['common'] + self.flags['c'], + 'ld_org': self.flags['common'] + self.flags['ld'], + 'cppc_org': self.flags['common'] + self.flags['cxx'] } # EmBlocks intermediate file template