summaryrefslogtreecommitdiff
path: root/nuttx/configs/eagle100/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-10 02:05:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-10 02:05:05 +0000
commitc91049651eb0bdcdc3ac7247c23a3619136adac7 (patch)
tree14fafe3ea56c364e9ad3a1735426f233ecfe2975 /nuttx/configs/eagle100/src
parent20da3b9b728dbd7023ff46fbe5d48c4095b97e2c (diff)
downloadpx4-nuttx-c91049651eb0bdcdc3ac7247c23a3619136adac7.tar.gz
px4-nuttx-c91049651eb0bdcdc3ac7247c23a3619136adac7.tar.bz2
px4-nuttx-c91049651eb0bdcdc3ac7247c23a3619136adac7.zip
Fixes for build CodeSourcery toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1868 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/eagle100/src')
-rw-r--r--nuttx/configs/eagle100/src/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/eagle100/src/Makefile b/nuttx/configs/eagle100/src/Makefile
index f2ca3a0d6..79fb8a558 100644
--- a/nuttx/configs/eagle100/src/Makefile
+++ b/nuttx/configs/eagle100/src/Makefile
@@ -49,7 +49,13 @@ SRCS = $(ASRCS) $(CSRCS)
OBJS = $(AOBJS) $(COBJS)
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
-CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/cortexm3
+ifeq ($(WINTOOL),y)
+ CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \
+ -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \
+ -I "${shell cygpath -w $(ARCH_SRCDIR)/cortexm3}"
+else
+ CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/cortexm3
+endif
all: libboard$(LIBEXT)