mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tools/metrics.py: When cleaning also clean mpy-cross.
Changes of interest could be in emitted mpy frozen files. Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
committed by
Damien George
parent
449866cb0a
commit
2c34497bd1
@@ -185,6 +185,10 @@ def do_clean(args):
|
||||
ports = parse_port_list(args)
|
||||
|
||||
print("CLEANING")
|
||||
|
||||
if any(port.needs_mpy_cross for port in ports):
|
||||
syscmd("make", "-C", "mpy-cross", "clean")
|
||||
|
||||
for port in ports:
|
||||
syscmd("make", "-C", "ports/{}".format(port.dir), port.make_flags, "clean")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user