contiki/examples/ravenusbstick/Makefile.ravenusbstick
Thomas 4870f9e8f3 Fix for IPv6 compilation and linkage errors
Two errors have been spotted, when IPv6 is enabled in the ravenusb
Project-Makefile:
#CONTIKI_NO_NET=1
CONTIKI_WITH_IPV6=1

The compile error results from a variable name mismatch in cdc_task.c
The variable 'r' is undeclared and should be renamed to 'route'

The linker also fails with 'undefined references'
This has been mediated by adding 'core/net' to Modules in the
Project-Makefile.
2016-05-09 18:18:28 +02:00

16 lines
454 B
Makefile

all: ravenusbstick
#Define CONTIKI_NO_NET=1 for a passthrough ipv6/6lowpan interface using fakeuip.c
#Define CONTIKI_WITH_IPV6 = 1 to include the uip6 stack (for rpl, internal webserver)
#Do make clean when switching to remove the duplicate library modules
CONTIKI_NO_NET=1
CONTIKI_WITH_IPV6=0
CONTIKI = ../..
MODULES+=core/net/mac/sicslowmac core/net core/net/mac core/net/llsec
PROJECT_SOURCEFILES += fakeuip.c
include $(CONTIKI)/Makefile.include