tools/Config.mk and tools/Makefile.win: Force use 'cmd' for shell with windows native build

This commit is contained in:
Anatol Ivanov 2018-11-06 06:34:00 -06:00 committed by Gregory Nutt
parent 3db3c3952b
commit e748bb8cd3
2 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,10 @@
#
############################################################################
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
export SHELL=cmd
endif
# These are configuration variables that are quoted by configuration tool
# but which must be unquoated when used in the build system.

View File

@ -33,6 +33,8 @@
#
############################################################################
export SHELL=cmd
TOPDIR := ${shell echo %CD%}
-include $(TOPDIR)\.config
-include $(TOPDIR)\tools\Config.mk