mirror of https://github.com/ARMmbed/mbed-os.git
Reveal cumulative attributes from Targets
parent
7600a322f5
commit
5755127fb8
|
@ -396,7 +396,7 @@ class Config(object):
|
||||||
|
|
||||||
self.cumulative_overrides = {key: ConfigCumulativeOverride(key)
|
self.cumulative_overrides = {key: ConfigCumulativeOverride(key)
|
||||||
for key in
|
for key in
|
||||||
Target._Target__cumulative_attributes}
|
Target.cumulative_attributes}
|
||||||
|
|
||||||
self._process_config_and_overrides(self.app_config_data, {}, "app",
|
self._process_config_and_overrides(self.app_config_data, {}, "app",
|
||||||
"application")
|
"application")
|
||||||
|
|
|
@ -59,7 +59,7 @@ def cached(func):
|
||||||
class Target:
|
class Target:
|
||||||
# Cumulative attributes can have values appended to them, so they
|
# Cumulative attributes can have values appended to them, so they
|
||||||
# need to be computed differently than regular attributes
|
# need to be computed differently than regular attributes
|
||||||
__cumulative_attributes = ['extra_labels', 'macros', 'device_has', 'features']
|
cumulative_attributes = ['extra_labels', 'macros', 'device_has', 'features']
|
||||||
|
|
||||||
# List of targets that were added dynamically using "add_py_targets" (see below)
|
# List of targets that were added dynamically using "add_py_targets" (see below)
|
||||||
__py_targets = set()
|
__py_targets = set()
|
||||||
|
|
Loading…
Reference in New Issue