From 86eba165b518492a20b2b08bd0f0becee617a37b Mon Sep 17 00:00:00 2001 From: Mateusz Zakarczemny Date: Tue, 23 Feb 2021 00:22:51 +0100 Subject: [PATCH] Revert removed spiffs-image-clean It was removed in https://github.com/SmingHub/Sming/commit/fdb772a76316c2697d3e0aa795bd67efd206ecd1?branch=fdb772a76316c2697d3e0aa795bd67efd206ecd1&diff=unified#diff-47632947d7b1a3ebdc4dc2b67f68638bf31eda6ef22844a7edda489de702acbdL62 but is required by `spiffs-image-update` --- Sming/Components/spiffs/component.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Sming/Components/spiffs/component.mk b/Sming/Components/spiffs/component.mk index bc7787fffc..e82a68d993 100644 --- a/Sming/Components/spiffs/component.mk +++ b/Sming/Components/spiffs/component.mk @@ -25,6 +25,13 @@ COMPONENT_RELINK_VARS += SPIFFS_OBJ_META_LEN SPIFFS_OBJ_META_LEN ?= 16 COMPONENT_CFLAGS += -DSPIFFS_OBJ_META_LEN=$(SPIFFS_OBJ_META_LEN) +##@Cleaning + +.PHONY: spiffs-image-clean +spiffs-image-clean: ##Remove SPIFFS image file + $(info Cleaning $(SPIFF_BIN_OUT)) + $(Q) rm -f $(SPIFF_BIN_OUT) + ##@Building # Spiffs image generation tool