Made the rime code into a separate module

This commit is contained in:
Adam Dunkels 2013-11-26 09:03:16 +01:00
parent cb02e67b29
commit d10a0f8830
2 changed files with 2 additions and 7 deletions

View File

@ -58,7 +58,7 @@ UPPERCASE = _ABCDEFGHIJKLMNOPQRSTUVWXYZ
TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERCASE)!}} TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERCASE)!}}
CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1 CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1
include $(CONTIKI)/core/net/rime/Makefile.rime #include $(CONTIKI)/core/net/rime/Makefile.rime
include $(CONTIKI)/core/net/mac/Makefile.mac include $(CONTIKI)/core/net/mac/Makefile.mac
SYSTEM = process.c procinit.c autostart.c elfloader.c \ SYSTEM = process.c procinit.c autostart.c elfloader.c \
compower.c serial-line.c compower.c serial-line.c

View File

@ -1,7 +1,3 @@
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_CHAMELEON = chameleon.c channel.c chameleon-raw.c chameleon-bitopt.c
RIME_BASE = rimeaddr.c rime.c timesynch.c \ RIME_BASE = rimeaddr.c rime.c timesynch.c \
rimestats.c announcement.c polite-announcement.c \ rimestats.c announcement.c polite-announcement.c \
@ -14,9 +10,8 @@ RIME_MESH = mesh.c route.c route-discovery.c
RIME_COLLECT = collect.c collect-neighbor.c neighbor-discovery.c \ RIME_COLLECT = collect.c collect-neighbor.c neighbor-discovery.c \
collect-link-estimate.c collect-link-estimate.c
RIME_RUDOLPH = rudolph0.c rudolph1.c rudolph2.c RIME_RUDOLPH = rudolph0.c rudolph1.c rudolph2.c
endif # UIP_CONF_IPV6
CONTIKI_SOURCEFILES += $(RIME_BASE) \ core-net-rime_src = $(RIME_BASE) \
$(RIME_SINGLEHOP) \ $(RIME_SINGLEHOP) \
$(RIME_MULTIHOP) \ $(RIME_MULTIHOP) \
$(RIME_MESH) \ $(RIME_MESH) \