replaced variable name to CMDEXE from UNAME.

removed the rule that .d files are converted to .P files.
This commit is contained in:
kkitayam
2021-01-14 01:19:43 +09:00
parent fc69dd70cf
commit d7cfd8b91d
14 changed files with 18 additions and 27 deletions

View File

@@ -14,7 +14,7 @@ CFLAGS += -Wno-error=undef -Wno-error=unused-parameter -Wno-error=cast-align
# due to tusb_hal_nrf_power_event
GCCVERSION = $(firstword $(subst ., ,$(shell arm-none-eabi-gcc -dumpversion)))
ifeq ($(UNAME),Windows)
ifeq ($(CMDEXE),1)
ifeq ($(shell if $(GCCVERSION) geq 8 echo 1), 1)
CFLAGS += -Wno-error=cast-function-type
endif