build system: Detect wrong Windows MSYSTEM version and warn

pull/1128/head
Angus Gratton 2017-09-21 11:21:55 +10:00 zatwierdzone przez Angus Gratton
rodzic 08b756b673
commit fc86c71574
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -47,7 +47,14 @@ ifndef MAKE_RESTARTS
ifeq ("$(filter 4.% 3.81 3.82,$(MAKE_VERSION))","") ifeq ("$(filter 4.% 3.81 3.82,$(MAKE_VERSION))","")
$(warning esp-idf build system only supports GNU Make versions 3.81 or newer. You may see unexpected results with other Makes.) $(warning esp-idf build system only supports GNU Make versions 3.81 or newer. You may see unexpected results with other Makes.)
endif endif
ifdef MSYSTEM
ifneq ("$(MSYSTEM)","MINGW32")
$(warning esp-idf build system only supports MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.)
endif endif
endif # MSYSTEM
endif # MAKE_RESTARTS
# can't run 'clean' along with any non-clean targets # can't run 'clean' along with any non-clean targets
ifneq ("$(filter clean% %clean,$(MAKECMDGOALS))" ,"") ifneq ("$(filter clean% %clean,$(MAKECMDGOALS))" ,"")