[ChibiOS][Windows] Use Windows-specific mkdir command

This resolves a last problem for building on Windows.
This commit is contained in:
Kenn Sebesta 2022-03-12 12:53:40 -05:00
parent 37068c70a9
commit ed807c0ae7
1 changed files with 8 additions and 1 deletions

View File

@ -312,6 +312,13 @@ clean:
#
# Include the dependency files, should be the last of the makefile
#
-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)
ifeq ($(OS),Windows_NT)
$(shell if not exist ".dep" mkdir .dep )
else
$(shell mkdir .dep 2>/dev/null)
endif
-include $(wildcard .dep/*)
# *** EOF ***