summaryrefslogtreecommitdiff
path: root/apps/netutils/netlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/netutils/netlib/Makefile')
-rw-r--r--apps/netutils/netlib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/netutils/netlib/Makefile b/apps/netutils/netlib/Makefile
index aff9c5bcd..a9b234f56 100644
--- a/apps/netutils/netlib/Makefile
+++ b/apps/netutils/netlib/Makefile
@@ -58,8 +58,10 @@ endif
# These require TCP support
ifeq ($(CONFIG_NET_TCP),y)
+ifeq ($(CONFIG_NET_IPv4),y) # Not yet available for IPv6
CSRCS += netlib_server.c netlib_listenon.c
endif
+endif
# No MAC address support for SLIP (Ethernet only)
@@ -70,8 +72,10 @@ endif
# IGMP support
ifeq ($(CONFIG_NET_IGMP),y)
+ifeq ($(CONFIG_NET_IPv4),y) # Not yet available for IPv6
CSRCS += netlib_ipmsfilter.c
endif
+endif
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))