make clean: invoke docker only when there is something to clean

This commit is contained in:
cpq committed 2023-01-21 07:44:50 +00:00
1 parent c7cb16cafa
commit 6f096333d3
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -35,4 +35,4 @@ flash3:
cd build && $(ESPTOOL) --chip esp32 -p $(PORT) -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x100000 mongoose-esp32-example.bin
clean:
$(DOCKER) rm -rf build sdkconfig
test -d build && $(DOCKER) rm -rf build sdkconfig || true