mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
build system: Detect wrong Windows MSYSTEM version and warn
This commit is contained in:
committed by
Angus Gratton
parent
08b756b673
commit
fc86c71574
@ -47,7 +47,14 @@ ifndef MAKE_RESTARTS
|
||||
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.)
|
||||
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 # MSYSTEM
|
||||
|
||||
endif # MAKE_RESTARTS
|
||||
|
||||
# can't run 'clean' along with any non-clean targets
|
||||
ifneq ("$(filter clean% %clean,$(MAKECMDGOALS))" ,"")
|
||||
|
Reference in New Issue
Block a user