summaryrefslogtreecommitdiff
path: root/nuttx/configs/z80sim/ostest/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-08 16:37:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-08 16:37:43 +0000
commit213b2c8ce390602f6613184003b79504db1354b0 (patch)
tree2e074559617775dfcedf5fa06d1f15b0bd3170ca /nuttx/configs/z80sim/ostest/Make.defs
parentc5d56bed3efa012d7e04c8728155bd76b02d9fef (diff)
downloadpx4-nuttx-213b2c8ce390602f6613184003b79504db1354b0.tar.gz
px4-nuttx-213b2c8ce390602f6613184003b79504db1354b0.tar.bz2
px4-nuttx-213b2c8ce390602f6613184003b79504db1354b0.zip
Add tools/link.bat, unlink.bat, and copydir.bat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5419 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/z80sim/ostest/Make.defs')
-rw-r--r--nuttx/configs/z80sim/ostest/Make.defs16
1 files changed, 13 insertions, 3 deletions
diff --git a/nuttx/configs/z80sim/ostest/Make.defs b/nuttx/configs/z80sim/ostest/Make.defs
index be0fc2470..1efd34983 100644
--- a/nuttx/configs/z80sim/ostest/Make.defs
+++ b/nuttx/configs/z80sim/ostest/Make.defs
@@ -131,6 +131,16 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# Windows-native host tools
MKDEP = $(TOPDIR)\tools\mkdeps.exe --winnative
+
+ # Use NTFS links or directory copies
+
+ifeq ($(CONFIG_WINDOWS_MKLINK),y)
+ DIRLINK = $(TOPDIR)$(DELIM)tools$(DELIM)link.bat
+else
+ DIRLINK = $(TOPDIR)$(DELIM)tools$(DELIM)copydir.bat
+endif
+DIRUNLINK = $(TOPDIR)$(DELIM)tools$(DELIM)unlink.bat
+
else
# Linux/Cygwin host tool definitions
@@ -148,10 +158,10 @@ else
# running under Cygwin does not
ifeq ($(WINTOOL),y)
- DIRLINK = $(TOPDIR)$(DELIM)tools$(DELIM)winlink.sh
- DIRUNLINK = $(TOPDIR)$(DELIM)tools$(DELIM)unlink.sh
+ DIRLINK = $(TOPDIR)$(DELIM)tools$(DELIM)copydir.sh
else
DIRLINK = $(TOPDIR)$(DELIM)tools$(DELIM)link.sh
- DIRUNLINK = $(TOPDIR)$(DELIM)tools$(DELIM)unlink.sh
endif
+DIRUNLINK = $(TOPDIR)$(DELIM)tools$(DELIM)unlink.sh
+
endif