Makefile: build less with nullnet
Use the mechanism introduced in the previous
commit to avoid building files when using
nullnet.
@@ -200,6 +200,9 @@ MAKE_NET ?= MAKE_NET_IPV6
ifeq ($(MAKE_NET),MAKE_NET_NULLNET)
CFLAGS += -DNETSTACK_CONF_WITH_NULLNET=1
MODULES += $(CONTIKI_NG_NET_DIR)/nullnet
+ # SLIP uses the rxbuf defined in uIP.
+ MODULES_SOURCES_EXCLUDES += slip.c
+ CONTIKI_SOURCES_EXCLUDES_NATIVE += tun6-net.c
endif
ifeq ($(MAKE_NET),MAKE_NET_IPV6)
