diff --git a/Make.defs b/Make.defs index b1f5df3d1..6c4e3fd8b 100644 --- a/Make.defs +++ b/Make.defs @@ -60,15 +60,12 @@ endif ifeq ($(DIRLINK),) ifeq ($(CONFIG_WINDOWS_NATIVE),y) - MKKCONFIG = $(APPDIR)\tools\mkkconfig.bat DIRLINK = $(TOPDIR)\tools\link.bat DIRUNLINK = $(TOPDIR)\tools\unlink.bat else ifeq ($(CONFIG_WINDOWS_MSYS),y) - MKKCONFIG = $(APPDIR)/tools/mkkconfig.sh DIRLINK = $(TOPDIR)$(DELIM)tools$(DELIM)copydir.sh DIRUNLINK = $(TOPDIR)$(DELIM)tools$(DELIM)unlink.sh else - MKKCONFIG = $(APPDIR)/tools/mkkconfig.sh DIRUNLINK = $(TOPDIR)/tools/unlink.sh ifeq ($(WINTOOL),y) DIRLINK = $(TOPDIR)/tools/copydir.sh @@ -78,6 +75,14 @@ endif endif endif +ifeq ($(CONFIG_WINDOWS_NATIVE),y) + MKKCONFIG = $(APPDIR)\tools\mkkconfig.bat +else ifeq ($(CONFIG_WINDOWS_MSYS),y) + MKKCONFIG = $(APPDIR)/tools/mkkconfig.sh +else + MKKCONFIG = $(APPDIR)/tools/mkkconfig.sh +endif + ifeq ($(WINTOOL),y) INCDIROPT = -w endif