File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 21
21
import shutil
22
22
import inspect
23
23
import sys
24
+ from copy import copy
24
25
from collections import namedtuple
25
26
from tools .patch import patch
26
27
from tools .paths import TOOLS_BOOTLOADERS
@@ -276,7 +277,10 @@ def program_cycle_s(self):
276
277
@property
277
278
def labels (self ):
278
279
"""Get all possible labels for this target"""
279
- labels = [self .name ] + CORE_LABELS [self .core ] + self .extra_labels
280
+ names = copy (self .resolution_order_names )
281
+ if "Target" in names :
282
+ names .remove ("Target" )
283
+ labels = (names + CORE_LABELS [self .core ] + self .extra_labels )
280
284
# Automatically define UVISOR_UNSUPPORTED if the target doesn't
281
285
# specifically define UVISOR_SUPPORTED
282
286
if "UVISOR_SUPPORTED" not in labels :
You can’t perform that action at this time.
0 commit comments