From b49b7286c4b5aacbc9f3ca92ba65c03624047633 Mon Sep 17 00:00:00 2001 From: xs5871 Date: Sat, 1 Apr 2023 21:32:23 +0000 Subject: [PATCH] Let copy-compiled remove old mpy files from device --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2c9f97b2a..346fb1e04 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,7 @@ copy-bootpy: copy-compiled: @echo "===> Copying compiled KMK folder" - @rsync -rhu $(MPY_TARGET_DIR)/* $(MOUNTPOINT)/ + @rsync -rhu -delete $(MPY_TARGET_DIR)/* $(MOUNTPOINT)/ @sync ifdef USER_KEYMAP