Fixes for clean pashello compile with z16f

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@622 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-02-03 13:20:54 +00:00
parent 0bd70f78e4
commit 978b0f79ad
2 changed files with 9 additions and 1 deletions

View File

@ -36,7 +36,14 @@
-include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
CFLAGS += -I$(TOPDIR)/pcode/include -I$(TOPDIR)/pcode/insn/include
COMPILER = ${shell basename $(CC)}
ifeq ($(COMPILER),zneocc.exe)
USRINCLUDES = -usrinc:'.;$(WTOPDIR)\pcode\include;$(WTOPDIR)\pcode\insn\include'
else
USRINCLUDES = -I$(TOPDIR)/pcode/include -I$(TOPDIR)/pcode/insn/include
endif
INCLUDES = $(ARCHSTDINCLUDES) $(USRINCLUDES)
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES)
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

@ -39,6 +39,7 @@
#include <nuttx/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <debug.h>
#include "pexec.h"