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:
parent
18dbbfbe39
commit
98f07f664e
@ -40,14 +40,8 @@ ifeq ($(WINTOOL),y)
|
|||||||
INCDIROPT = -w
|
INCDIROPT = -w
|
||||||
endif
|
endif
|
||||||
|
|
||||||
COMPILER = ${shell basename $(CC)}
|
CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/pcode/include }
|
||||||
USRINCLUDES = ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$CC" $(TOPDIR)/pcode/include $(TOPDIR)/pcode/insn/include}
|
CFLAGS += ${shell $(TOPDIR)/tools/incdir.sh $(INCDIROPT) "$(CC)" $(TOPDIR)/pcode/insn/include}
|
||||||
ifneq ($(ARCHSTDINCLUDES),)
|
|
||||||
INCLUDES = $(ARCHSTDINCLUDES) $(USRINCLUDES)
|
|
||||||
else
|
|
||||||
INCLUDES = $(ARCHINCLUDES) $(USRINCLUDES)
|
|
||||||
endif
|
|
||||||
CFLAGS = $(ARCHWARNINGS) $(ARCHOPTIMIZATION) $(ARCHCPUFLAGS) $(INCLUDES) $(ARCHDEFINES)
|
|
||||||
|
|
||||||
ASRCS =
|
ASRCS =
|
||||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||||
|
@ -69,7 +69,9 @@ static const struct file_operations hello_fops =
|
|||||||
0, /* write */
|
0, /* write */
|
||||||
0, /* seek */
|
0, /* seek */
|
||||||
0, /* ioctl */
|
0, /* ioctl */
|
||||||
|
#ifndef CONFIG_DISABLE_POLL
|
||||||
0 /* poll */
|
0 /* poll */
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user