mirror of https://github.com/ARMmbed/mbed-os.git
Correct profile handling in GNUARMEclipse exporter
parent
fc6c2b85ff
commit
64baee8ac7
|
@ -202,14 +202,13 @@ class GNUARMEclipse(Exporter):
|
||||||
print 'Build configuration: {0}'.format(opts['name'])
|
print 'Build configuration: {0}'.format(opts['name'])
|
||||||
|
|
||||||
profile = profiles[id]
|
profile = profiles[id]
|
||||||
profile_toolchain = profile[self.TOOLCHAIN]
|
|
||||||
|
|
||||||
# A small hack, do not bother with src_path again,
|
# A small hack, do not bother with src_path again,
|
||||||
# pass an empty string to avoid crashing.
|
# pass an empty string to avoid crashing.
|
||||||
src_paths = ['']
|
src_paths = ['']
|
||||||
target_name = self.toolchain.target.name
|
target_name = self.toolchain.target.name
|
||||||
toolchain = prepare_toolchain(
|
toolchain = prepare_toolchain(
|
||||||
src_paths, "", target_name, self.TOOLCHAIN, build_profile=profile_toolchain)
|
src_paths, "", target_name, self.TOOLCHAIN, build_profile=[profile])
|
||||||
|
|
||||||
# Hack to fill in build_dir
|
# Hack to fill in build_dir
|
||||||
toolchain.build_dir = self.toolchain.build_dir
|
toolchain.build_dir = self.toolchain.build_dir
|
||||||
|
|
Loading…
Reference in New Issue