summaryrefslogtreecommitdiff
path: root/nuttx/drivers/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-20 20:32:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-11-20 20:32:33 +0000
commit78dd0de872d9bef518f3ef395b4913197e1b2077 (patch)
tree0af928d900e8e43c520f6b06248eb84177b6a56e /nuttx/drivers/Makefile
parent93c4e0321431ad4164eb37c26c532d187d0aa1ab (diff)
downloadpx4-nuttx-78dd0de872d9bef518f3ef395b4913197e1b2077.tar.gz
px4-nuttx-78dd0de872d9bef518f3ef395b4913197e1b2077.tar.bz2
px4-nuttx-78dd0de872d9bef518f3ef395b4913197e1b2077.zip
Several webserver bugs fixed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@391 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/Makefile')
-rw-r--r--nuttx/drivers/Makefile6
1 files changed, 5 insertions, 1 deletions
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)