diff options
| author | Ian McIntyre <me@mciantyre.dev> | 2026-07-26 14:08:50 -0400 |
|---|---|---|
| committer | Ian McIntyre <me@mciantyre.dev> | 2026-07-26 14:08:50 -0400 |
| commit | aab8e7de56e28dc758946604540e44025e3737cb (patch) | |
| tree | 5981f67c7b0d9242c59486a7784ba80c1f3b1748 /Makefile | |
| parent | b5dbf9d11abc64d922b5759116192329e55f508e (diff) | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -100,3 +100,19 @@ imxrt-chiptool.shootout: imxrt-chiptool/imxrt1011 imxrt-chiptool/imxrt1062 imxrt @cargo update --manifest-path=imxrt-chiptool/imxrt1189_cm33/Cargo.toml @cargo clean --manifest-path=imxrt-chiptool/imxrt1189_cm33/Cargo.toml cargo build --manifest-path=imxrt-chiptool/imxrt1189_cm33/Cargo.toml --profile=$(PAC_PROFILE) --target=thumbv8m.main-none-eabihf --features=rt $(TIMINGS) + +CLEAN_MANIFESTS = $(wildcard \ + chiptool/Cargo.toml \ + svd2rust/Cargo.toml \ + form/Cargo.toml \ + svdtools/Cargo.toml \ + imxrt-ral/Cargo.toml \ + imxrt-svd2rust/*/Cargo.toml \ + imxrt-chiptool/*/Cargo.toml) + +.PHONY: clean +clean: + @for manifest in $(CLEAN_MANIFESTS); do \ + echo "cargo clean --manifest-path=$$manifest"; \ + cargo clean --manifest-path=$$manifest; \ + done |
