mirror of https://github.com/ARMmbed/mbed-os.git
Exporter - condition for progen simplification
parent
5074f4814c
commit
56d4f6f9f3
|
@ -88,9 +88,7 @@ def export(project_path, project_name, ide, target, destination='/tmp/',
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
if use_progen:
|
if use_progen:
|
||||||
if target in Exporter.PROGEN_TARGETS.keys():
|
if target not in Exporter.PROGEN_TARGETS.keys() or not ProGenDef(ide).is_supported(Exporter.PROGEN_TARGETS[target]):
|
||||||
progen_target = Exporter.PROGEN_TARGETS[target]
|
|
||||||
if not ProGenDef(ide).is_supported(progen_target):
|
|
||||||
supported = False
|
supported = False
|
||||||
else:
|
else:
|
||||||
if target not in Exporter.TARGETS:
|
if target not in Exporter.TARGETS:
|
||||||
|
|
Loading…
Reference in New Issue