From a440fbabda3e24b568bf7aec85a6dee14b670a54 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 1 Jul 2025 16:47:20 +0200 Subject: [PATCH] make clean - now removes all __pycache__ folders sprinkled all over the project when running some of the dedicated python scripts --- CHANGELOG.md | 1 + Makefile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aac2816a..73ddb1c6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] +- Changed `make clean` - it now removes all __pycache__ folders (@iceman1001) - Fixed `hf 15 readmulti` - fix block calculations (@iceman1001) - Changed `mem load` - now handles UL-C and UL-AES dictionary files (@iceman1001) - Changed `hf mfu sim` - now support UL-C simulation (@iceman1001) diff --git a/Makefile b/Makefile index 39b823b89..c985246d5 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ all clean install uninstall check: %: client/% bootrom/% armsrc/% recovery/% mfc # hitag2crack toolsuite is not yet integrated in "all", it must be called explicitly: "make hitag2crack" #all clean install uninstall check: %: hitag2crack/% clean: %: hitag2crack/% + find . -type d -name __pycache__ -exec rm -rfv \{\} + + INSTALLTOOLS=mfc/pm3_eml2lower.sh mfc/pm3_eml2upper.sh mfc/pm3_mfdread.py mfc/pm3_mfd2eml.py mfc/pm3_eml2mfd.py pm3_amii_bin2eml.pl pm3_reblay-emulating.py pm3_reblay-reading.py INSTALLSIMFW=sim011.bin sim011.sha512.txt sim013.bin sim013.sha512.txt sim014.bin sim014.sha512.txt