From 1be10f026afefb11515ccd161c430d56bed6b755 Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Wed, 11 Dec 2013 02:12:46 +0100 Subject: [PATCH] Handle the CONTIKI_NO_NET case so that the ravenusbstick example builds --- platform/avr-ravenusb/Makefile.avr-ravenusb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/avr-ravenusb/Makefile.avr-ravenusb b/platform/avr-ravenusb/Makefile.avr-ravenusb index 3fa69ceb3..5ed9f6b4f 100644 --- a/platform/avr-ravenusb/Makefile.avr-ravenusb +++ b/platform/avr-ravenusb/Makefile.avr-ravenusb @@ -66,6 +66,10 @@ AVRDUDE_OPTIONS=-V include $(CONTIKIAVR)/Makefile.avr include $(CONTIKIAVR)/radio/Makefile.radio - +ifndef CONTIKI_NO_NET MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 \ core/net/rime core/net/mac core/net/mac/sicslowmac +else +vpath %.c $(CONTIKI)/core/net/ipv6 +CONTIKI_SOURCEFILES += sicslowpan.c rimeaddr.c +endif