Skip to content

Commit 64baee8

Browse files
theotherjimmysg-
authored andcommitted
Correct profile handling in GNUARMEclipse exporter
1 parent fc6c2b8 commit 64baee8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
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)