diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-06 01:41:14 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-10-06 01:41:14 +0000 |
commit | 51b507083bb983e7c3789545e858d07776b34f92 (patch) | |
tree | 2e0a32f3a0369905631a2df05530aa9ef7ce04f5 /nuttx/arch/avr/src/Makefile | |
parent | f530cf486e93a821f447c67b4bc9fc090bae64c1 (diff) | |
download | px4-nuttx-51b507083bb983e7c3789545e858d07776b34f92.tar.gz px4-nuttx-51b507083bb983e7c3789545e858d07776b34f92.tar.bz2 px4-nuttx-51b507083bb983e7c3789545e858d07776b34f92.zip |
Add AVR32 start function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2970 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/Makefile')
-rw-r--r-- | nuttx/arch/avr/src/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nuttx/arch/avr/src/Makefile b/nuttx/arch/avr/src/Makefile index a35ed59af..0086602c0 100644 --- a/nuttx/arch/avr/src/Makefile +++ b/nuttx/arch/avr/src/Makefile @@ -43,16 +43,21 @@ endif ifeq ($(WINTOOL),y) NUTTX = "${shell cygpath -w $(TOPDIR)/nuttx}" - CFLAGS += -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ + INCLUDES = -I "${shell cygpath -w $(ARCH_SRCDIR)/chip}" \ -I "${shell cygpath -w $(ARCH_SRCDIR)/common}" \ -I "${shell cygpath -w $(ARCH_SRCDIR)/$(ARCH_SUBDIR)}" \ -I "${shell cygpath -w $(TOPDIR)/sched}" else NUTTX = $(TOPDIR)/nuttx - CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common \ + INCLUDES = -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common \ -I$(ARCH_SRCDIR)/$(ARCH_SUBDIR) -I$(TOPDIR)/sched endif +CPPFLAGS += $(INCLUDES) +CFLAGS += $(INCLUDES) +CXXFLAGS += $(INCLUDES) +AFLAGS += $(INCLUDES) + HEAD_AOBJ = $(HEAD_ASRC:.S=$(OBJEXT)) ASRCS = $(CHIP_ASRCS) $(CMN_ASRCS) |