Skip to content

Commit d3cf5fb

Browse files
authored
Merge pull request #4445 from theotherjimmy/fix-exporters
Fixes for exporter issues
2 parents 9d9ef18 + 603ef3d commit d3cf5fb

File tree

13 files changed

+8
-9
lines changed

13 files changed

+8
-9
lines changed

tools/export/gnuarmeclipse/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,14 +202,13 @@ def generate(self):
202202
print 'Build configuration: {0}'.format(opts['name'])
203203

204204
profile = profiles[id]
205-
profile_toolchain = profile[self.TOOLCHAIN]
206205

207206
# A small hack, do not bother with src_path again,
208207
# pass an empty string to avoid crashing.
209208
src_paths = ['']
210209
target_name = self.toolchain.target.name
211210
toolchain = prepare_toolchain(
212-
src_paths, "", target_name, self.TOOLCHAIN, build_profile=profile_toolchain)
211+
src_paths, "", target_name, self.TOOLCHAIN, build_profile=[profile])
213212

214213
# Hack to fill in build_dir
215214
toolchain.build_dir = self.toolchain.build_dir

0 commit comments

Comments
 (0)