mirror of https://github.com/ARMmbed/mbed-os.git
Clear custom-targets uppon setting new taregts.json location
parent
2540f01d26
commit
49645b44d8
|
@ -169,6 +169,7 @@ class Target(namedtuple("Target", "name json_data resolution_order resolution_or
|
||||||
"""Set the location of the targets.json file"""
|
"""Set the location of the targets.json file"""
|
||||||
Target.__targets_json_location = (location or
|
Target.__targets_json_location = (location or
|
||||||
Target.__targets_json_location_default)
|
Target.__targets_json_location_default)
|
||||||
|
Target.__extra_target_json_files = []
|
||||||
# Invalidate caches, since the location of the JSON file changed
|
# Invalidate caches, since the location of the JSON file changed
|
||||||
CACHES.clear()
|
CACHES.clear()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue