summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/platform/Makefile7
-rw-r--r--nuttx/Makefile.win2
2 files changed, 7 insertions, 2 deletions
diff --git a/apps/platform/Makefile b/apps/platform/Makefile
index 02b055b50..196dfd52d 100644
--- a/apps/platform/Makefile
+++ b/apps/platform/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/platform/Makefile
#
-# Copyright (C) 2013 Gregory Nutt. All rights reserved.
+# Copyright (C) 2013-2014 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -41,9 +41,14 @@ include $(APPDIR)$(DELIM)Make.defs
# Tool stuff
ifeq ($(DIRLINK),)
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+DIRLINK = $(TOPDIR)/tools/link.bat
+DIRUNLINK = $(TOPDIR)/tools/unlink.bat
+else
DIRLINK = $(TOPDIR)/tools/link.sh
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
endif
+endif
ifeq ($(WINTOOL),y)
INCDIROPT = -w
diff --git a/nuttx/Makefile.win b/nuttx/Makefile.win
index 369e1319b..d224ea8b5 100644
--- a/nuttx/Makefile.win
+++ b/nuttx/Makefile.win
@@ -60,7 +60,7 @@ ARCH_INC = $(ARCH_DIR)\include
ifeq ($(CONFIG_ARCH_BOARD_CUSTOM),y)
BOARD_DIR = $(CONFIG_ARCH_BOARD_CUSTOM_DIR)
else
- BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
+ BOARD_DIR = configs$(DELIM)$(CONFIG_ARCH_BOARD)
endif
# Add-on directories. These may or may not be in place in the