summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-strp711/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-11 14:47:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-11 14:47:03 +0000
commit94a04f9e5a37e615bc7f8809a055ed98ea36a19b (patch)
tree78aebf6ed7c5d6f6b9b81f7f81d33b71810593e1 /nuttx/configs/olimex-strp711/src
parent3ad84ca396bbfad20398f519d4493111c2bf63a6 (diff)
downloadpx4-nuttx-94a04f9e5a37e615bc7f8809a055ed98ea36a19b.tar.gz
px4-nuttx-94a04f9e5a37e615bc7f8809a055ed98ea36a19b.tar.bz2
px4-nuttx-94a04f9e5a37e615bc7f8809a055ed98ea36a19b.zip
Add support for Windows GCC to lpc2148 and str711
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1875 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/olimex-strp711/src')
-rw-r--r--nuttx/configs/olimex-strp711/src/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/configs/olimex-strp711/src/Makefile b/nuttx/configs/olimex-strp711/src/Makefile
index a46c97c84..6d61f5a0c 100644
--- a/nuttx/configs/olimex-strp711/src/Makefile
+++ b/nuttx/configs/olimex-strp711/src/Makefile
@@ -36,7 +36,14 @@
-include $(TOPDIR)/Make.defs
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
-CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I$(TOPDIR)/sched
+ifeq ($(WINTOOL),y)
+ CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \
+ -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \
+ -I "${shell cygpath -w $(ARCH_SRCDIR)/arm}" \
+ -I "${shell cygpath -w $(ARCH_SRCDIR)/sched}"
+else
+ CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(ARCH_SRCDIR)/arm -I$(TOPDIR)/sched
+endif
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))