# PATH SEPARATOR STRING TOOLS
ifdef WINDOWS_HOST
-ifndef MSYSCON
- WIN_PS_TOOLS := defined
-endif
+ ifneq ($(TERM),cygwin)
+ ifndef MSYSCON
+ WIN_PS_TOOLS := defined
+ endif
+ endif
endif
slash_path = $(subst $(backslash),$(slash),$(1))
ifdef WIN_PS_TOOLS
_SYSROOT = $(if $(SYSROOT),$(space)--sysroot=$(SYSROOT),)
+_MAKE = $(call fp_opt_quotes,$(MAKE))
+
# SHELL COMMANDS
ifdef WINDOWS_HOST
-ifndef MSYSCON
- WIN_SHELL_COMMANDS := defined
-endif
+ ifneq ($(TERM),cygwin)
+ ifndef MSYSCON
+ WIN_SHELL_COMMANDS := defined
+ endif
+ endif
endif
ifneq ($(V),1)
SILENT_IS_ON := defined