Adapt fsutil invocation for Windows 10

This commit is contained in:
Vincent Barrilliot 2023-12-04 19:34:48 +01:00
parent b76ddc8eec
commit 6913c88521

View file

@ -114,7 +114,7 @@ PAD_FLASH_SIZE=524288
ifeq ($(OS),Windows_NT)
export CFLAGS = -cpu=$(VBCC_CPU) +$(CFG_FILE) -I. -I$(CURDIR)/include -I$(CURDIR)
export RM = cmd /C del /Q /F
PAD_CMD = fsutil seteof $@ $(PAD_FLASH_SIZE)
PAD_CMD = fsutil file setEOF $@ $(PAD_FLASH_SIZE)
else
export CFLAGS = -cpu=$(VBCC_CPU) +$(CFG_FILE)_linux -I. -I$(CURDIR)/include -I$(CURDIR)
export RM = rm -f