aboutsummaryrefslogtreecommitdiff
path: root/nuttx/tools/Config.mk
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-16 12:41:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-16 12:41:58 +0000
commitda3dd04ea56562e2a50606be907fe99d11822d9d (patch)
treec71a30be978332c2b24582697e98963c8d442794 /nuttx/tools/Config.mk
parente24f4089720b27bc926d778eff89297ab944e457 (diff)
downloadpx4-firmware-da3dd04ea56562e2a50606be907fe99d11822d9d.tar.gz
px4-firmware-da3dd04ea56562e2a50606be907fe99d11822d9d.tar.bz2
px4-firmware-da3dd04ea56562e2a50606be907fe99d11822d9d.zip
Changes from Mike
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5361 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/tools/Config.mk')
-rw-r--r--nuttx/tools/Config.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/tools/Config.mk b/nuttx/tools/Config.mk
index f05933f1a..4cdda113c 100644
--- a/nuttx/tools/Config.mk
+++ b/nuttx/tools/Config.mk
@@ -43,6 +43,19 @@ CONFIG_ARCH := $(patsubst "%",%,$(strip $(CONFIG_ARCH)))
CONFIG_ARCH_CHIP := $(patsubst "%",%,$(strip $(CONFIG_ARCH_CHIP)))
CONFIG_ARCH_BOARD := $(patsubst "%",%,$(strip $(CONFIG_ARCH_BOARD)))
+# DELIM - Path segment delimiter character
+#
+# Depends on this settings defined in board-specific defconfig file installed
+# at $(TOPDIR)/.config:
+#
+# CONFIG_WINDOWS_NATIVE - Defined for a Windows native build
+
+ifeq ($(CONFIG_WINDOWS_NATIVE),y)
+ DELIM = $(strip \)
+else
+ DELIM = $(strip /)
+endif
+
# INCDIR - Convert a list of directory paths to a list of compiler include
# directirves
# Example: CFFLAGS += ${shell $(INCDIR) [options] "compiler" "dir1" "dir2" "dir2" ...}