Fix applying all possible setting

pull/10326/head
Andrii Lishchynskyi 2019-04-03 19:05:49 +03:00 committed by Martin Kojtal
parent 4d33732fc7
commit 4f181324e8
1 changed files with 2 additions and 2 deletions

View File

@ -48,12 +48,12 @@ class Eclipse(Makefile):
# Get target-specific options. Use labels to find alias
# for target. This allows to define options within inheritance path
target_specific = _CONFIGS_OPTIONS['targets']
aliases = self.toolchain.target.labels
for target_alias in aliases:
for target_alias in self.toolchain.target.labels:
if target_alias in target_specific:
eclipse_config.update(target_specific[target_alias]['generic'])
if configuration in target_specific[target_alias]:
eclipse_config.update(target_specific[target_alias][configuration])
break
return eclipse_config