From 4bf5c3bd9c5bf66609562a6354bc33d34d7eeb5b Mon Sep 17 00:00:00 2001 From: cpq Date: Thu, 21 May 2026 09:16:40 +0100 Subject: [PATCH] Elevate permissions on make clean only when needed --- tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile b/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile index e2f51664..fa8e4714 100644 --- a/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile +++ b/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile @@ -24,5 +24,4 @@ wizard: clean: - sudo rm -rf firmware.* wizard* workspace mcuxpresso .cache .eclipse .p2 - + test -f firmware.axf && sudo rm -rf firmware.* wizard* workspace mcuxpresso .cache .eclipse .p2 || true