diff --git a/firmware/bootloader/Makefile b/firmware/bootloader/Makefile index 4187fddbb6..6a7a5464af 100644 --- a/firmware/bootloader/Makefile +++ b/firmware/bootloader/Makefile @@ -370,3 +370,4 @@ include $(PROJECT_DIR)/rusefi_pch.mk CLEAN_RULE_HOOK: CLEAN_PCH_HOOK @echo Cleaning-BLT -rm -fR $(BUILDDIR)/* + rm -f .*-sentinel diff --git a/firmware/bundle.mk b/firmware/bundle.mk index a329bf933b..48972a4549 100644 --- a/firmware/bundle.mk +++ b/firmware/bundle.mk @@ -180,6 +180,7 @@ CLEAN_BUNDLE_HOOK: BOARD_DIR=../$(BOARD_DIR) BOARD_META_PATH=../$(BOARD_META_PATH) $(MAKE) -C bootloader clean rm -rf $(FOLDER) rm -rf $(DELIVER) + rm -f .*-sentinel @echo Done Cleaning Bundle # We need to use secondary expansion on these rules to find the target file in the source file list.