From cc183e6509786872288c9317a198b7623edd7091 Mon Sep 17 00:00:00 2001 From: Vincent Barrilliot Date: Sun, 12 Nov 2023 10:58:06 +0100 Subject: [PATCH] "file" missing in Windows file length setting command. See https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil-file --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 632e600..76df817 100644 --- a/src/Makefile +++ b/src/Makefile @@ -160,7 +160,7 @@ ifeq ("$(PAD_FLASH_SIZE)","") endif ifeq ($(OS),Windows_NT) RM = del /F/Q - PAD_CMD = fsutil seteof $@ $(PAD_FLASH_SIZE) + PAD_CMD = fsutil file seteof $@ $(PAD_FLASH_SIZE) else RM = rm -f PAD_CMD = truncate -s $(PAD_FLASH_SIZE) $@