We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f16fec commit 7eb44cbCopy full SHA for 7eb44cb
tools/export/cdt/__init__.py
@@ -48,12 +48,12 @@ def get_target_config(self, configuration):
48
# Get target-specific options. Use labels to find alias
49
# for target. This allows to define options within inheritance path
50
target_specific = _CONFIGS_OPTIONS['targets']
51
- aliases = self.toolchain.target.labels
52
- for target_alias in aliases:
+ for target_alias in self.toolchain.target.labels:
53
if target_alias in target_specific:
54
eclipse_config.update(target_specific[target_alias]['generic'])
55
if configuration in target_specific[target_alias]:
56
eclipse_config.update(target_specific[target_alias][configuration])
+ break
57
58
return eclipse_config
59
0 commit comments