summaryrefslogtreecommitdiff
path: root/apps/platform
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-02-07 09:29:02 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-02-07 09:29:02 -0600
commit50c464397767530fd6ce39d47d3cbd5a426c5e39 (patch)
tree524b97e7ad461ed466bfe16089b2d54f7ce1472a /apps/platform
parentb5ac4acfe85d174f7e034fc852223c07590f8986 (diff)
downloadnuttx-50c464397767530fd6ce39d47d3cbd5a426c5e39.tar.gz
nuttx-50c464397767530fd6ce39d47d3cbd5a426c5e39.tar.bz2
nuttx-50c464397767530fd6ce39d47d3cbd5a426c5e39.zip
Some Windows native build fixes
Diffstat (limited to 'apps/platform')
-rw-r--r--apps/platform/Makefile7
1 files changed, 6 insertions, 1 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