Bringing examples/pashello back to life

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2388 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-12-18 18:12:32 +00:00
parent 18dbbfbe39
commit 98f07f664e
2 changed files with 4 additions and 8 deletions

View File

@ -40,14 +40,8 @@ ifeq ($(WINTOOL),y)
INCDIROPT = -w
endif
COMPILER = ${shell basename $(CC)}
USRINCLUDES = ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$CC" $(TOPDIR)/pcode/include $(TOPDIR)/pcode/insn/include}
ifneq ($(ARCHSTDINCLUDES),)
INCLUDES = $(ARCHSTDINCLUDES) $(USRINCLUDES)
else
INCLUDES = $(ARCHINCLUDES) $(USRINCLUDES)
endif
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES)
CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/pcode/include }
CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/pcode/insn/include}
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))

View File

@ -69,7 +69,9 @@ static const struct file_operations hello_fops =
0, /* write */
0, /* seek */
0, /* ioctl */
#ifndef CONFIG_DISABLE_POLL
0 /* poll */
#endif
};
/****************************************************************************