mirror of https://github.com/ARMmbed/mbed-os.git
Add "components"
parent
b53a9ea4c0
commit
79ee1b8e02
|
|
@ -135,7 +135,9 @@ class Resources(object):
|
|||
|
||||
# Incremental scan related
|
||||
self._label_paths = []
|
||||
self._labels = {"TARGET": [], "TOOLCHAIN": [], "FEATURE": []}
|
||||
self._labels = {
|
||||
"TARGET": [], "TOOLCHAIN": [], "FEATURE": [], "COMPONENT": []
|
||||
}
|
||||
self._prefixed_labels = set()
|
||||
|
||||
# Path seperator style (defaults to OS-specific seperator)
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ def cached(func):
|
|||
|
||||
# Cumulative attributes can have values appended to them, so they
|
||||
# need to be computed differently than regular attributes
|
||||
CUMULATIVE_ATTRIBUTES = ['extra_labels', 'macros', 'device_has', 'features']
|
||||
CUMULATIVE_ATTRIBUTES = ['extra_labels', 'macros', 'device_has', 'features', 'components']
|
||||
|
||||
|
||||
def get_resolution_order(json_data, target_name, order, level=0):
|
||||
|
|
|
|||
|
|
@ -224,6 +224,7 @@ class mbedToolchain:
|
|||
self.labels = {
|
||||
'TARGET': self.target.labels,
|
||||
'FEATURE': self.target.features,
|
||||
'COMPONENT': self.target.components,
|
||||
'TOOLCHAIN': toolchain_labels
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue