summaryrefslogtreecommitdiff
path: root/nuttx/netutils/uiplib/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-12 16:33:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-12 16:33:55 +0000
commitd9580c5a997f0d33b216956db4a05ad784aaa065 (patch)
tree32169240d5ecd36f538df1ec91089c52e96f0c68 /nuttx/netutils/uiplib/Make.defs
parente6f93f774080d42c3f954a862709d047df2d7e7a (diff)
downloadpx4-nuttx-d9580c5a997f0d33b216956db4a05ad784aaa065.tar.gz
px4-nuttx-d9580c5a997f0d33b216956db4a05ad784aaa065.tar.bz2
px4-nuttx-d9580c5a997f0d33b216956db4a05ad784aaa065.zip
Add SLIP test configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3371 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/uiplib/Make.defs')
-rw-r--r--nuttx/netutils/uiplib/Make.defs17
1 files changed, 12 insertions, 5 deletions
diff --git a/nuttx/netutils/uiplib/Make.defs b/nuttx/netutils/uiplib/Make.defs
index 0feddc03d..1db3208b2 100644
--- a/nuttx/netutils/uiplib/Make.defs
+++ b/nuttx/netutils/uiplib/Make.defs
@@ -1,7 +1,7 @@
############################################################################
# Make.defs
#
-# Copyright (C) 2007, 2010 Gregory Nutt. All rights reserved.
+# Copyright (C) 2007, 2010-2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -34,10 +34,17 @@
############################################################################
UIPLIB_ASRCS =
-UIPLIB_CSRCS = uiplib.c uip_setmacaddr.c uip_getmacaddr.c uip_sethostaddr.c \
- uip_gethostaddr.c uip_setdraddr.c uip_setnetmask.c uip_parsehttpurl.c \
- uip_server.c
+UIPLIB_CSRCS = uiplib.c uip_sethostaddr.c uip_gethostaddr.c uip_setdraddr.c \
+ uip_setnetmask.c uip_parsehttpurl.c uip_server.c\
+
+# No MAC address support for SLIP (Ethernet only)
+
+ifneq ($(CONFIG_NET_SLIP),y)
+UIPLIB_CSRCS += uip_setmacaddr.c uip_getmacaddr.c
+endif
+
+# IGMP support
+
ifeq ($(CONFIG_NET_IGMP),y)
UIPLIB_CSRCS += uip_ipmsfilter.c
endif
-