mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 16:29:34 +00:00
5afcbf6fff
Setting UIP_CONF_IPV6 to zero from the make build command line is something that seems like it should ensure that IPv6 is disabled, but in fact it actually *enables* IPv6. This seems counter intuitive, so this patch changes the behavior of the makefiles to handle this case properly.
27 lines
1.0 KiB
Makefile
27 lines
1.0 KiB
Makefile
ifeq ($(UIP_CONF_IPV6),1)
|
|
#RIME_UIP6 = rime-udp.c
|
|
RIME_BASE = rimeaddr.c timesynch.c rimestats.c
|
|
else
|
|
RIME_CHAMELEON = chameleon.c channel.c chameleon-raw.c chameleon-bitopt.c
|
|
RIME_BASE = rimeaddr.c rime.c timesynch.c \
|
|
rimestats.c announcement.c polite-announcement.c \
|
|
broadcast-announcement.c
|
|
RIME_SINGLEHOP = broadcast.c stbroadcast.c unicast.c stunicast.c \
|
|
runicast.c abc.c \
|
|
rucb.c polite.c ipolite.c
|
|
RIME_MULTIHOP = netflood.c multihop.c rmh.c trickle.c
|
|
RIME_MESH = mesh.c route.c route-discovery.c
|
|
RIME_COLLECT = collect.c collect-neighbor.c neighbor-discovery.c \
|
|
collect-link-estimate.c
|
|
RIME_RUDOLPH = rudolph0.c rudolph1.c rudolph2.c
|
|
endif # UIP_CONF_IPV6
|
|
|
|
CONTIKI_SOURCEFILES += $(RIME_BASE) \
|
|
$(RIME_SINGLEHOP) \
|
|
$(RIME_MULTIHOP) \
|
|
$(RIME_MESH) \
|
|
$(RIME_COLLECT) \
|
|
$(RIME_RUDOLPH) \
|
|
$(RIME_CHAMELEON) \
|
|
$(RIME_UIP6)
|