From 78dd0de872d9bef518f3ef395b4913197e1b2077 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Nov 2007 20:32:33 +0000 Subject: Several webserver bugs fixed git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@391 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/drivers/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nuttx/drivers/Makefile') diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile index 0ebf08d5c..d4185bc47 100644 --- a/nuttx/drivers/Makefile +++ b/nuttx/drivers/Makefile @@ -44,7 +44,11 @@ endif ASRCS = $(NET_ASRCS) AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = dev_null.c serial.c $(NET_CSRCS) +CSRCS = +ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) +CSRCS += dev_null.c serial.c +endif +CSRCS += $(NET_CSRCS) COBJS = $(CSRCS:.c=$(OBJEXT)) SRCS = $(ASRCS) $(CSRCS) -- cgit v1.2.3