diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-11 14:47:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-11 14:47:03 +0000 |
commit | 94a04f9e5a37e615bc7f8809a055ed98ea36a19b (patch) | |
tree | 78aebf6ed7c5d6f6b9b81f7f81d33b71810593e1 /nuttx/configs/mcu123-lpc214x/src | |
parent | 3ad84ca396bbfad20398f519d4493111c2bf63a6 (diff) | |
download | px4-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/mcu123-lpc214x/src')
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/src/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/src/Makefile b/nuttx/configs/mcu123-lpc214x/src/Makefile index 2dbb86362..ab71e0cce 100644 --- a/nuttx/configs/mcu123-lpc214x/src/Makefile +++ b/nuttx/configs/mcu123-lpc214x/src/Makefile @@ -1,7 +1,7 @@ ############################################################################ # configs/mcu123-lpc214x/src/Makefile # -# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Author: Gregory Nutt <spudmonkey@racsa.co.cr> # # Redistribution and use in source and binary forms, with or without @@ -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)) |