Added makefiles to make core/net/mac into a separate module

This commit is contained in:
Adam Dunkels 2013-11-26 17:28:27 +01:00
parent d777ae14e4
commit b78ab6753c
4 changed files with 6 additions and 3 deletions

View File

@ -59,7 +59,7 @@ TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERC
CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1
#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 \
compower.c serial-line.c
THREADS = mt.c

View File

@ -1 +1,4 @@
core-net_src = netstack.c packetbuf.c packetqueue.c queuebuf.c nbr-table.c
MODULES += core/net/mac
include $(CONTIKI)/core/net/mac/Makefile.core-net-mac

View File

@ -0,0 +1,2 @@
core-net-mac_src = csma.c frame802154.c framer-802154.c framer-nullmac.c mac.c phase.c mac-sequence.c \
nullmac.c nullrdc.c phase.c

View File

@ -1,2 +0,0 @@
CONTIKI_SOURCEFILES += cxmac.c nullmac.c frame802154.c sicslowmac.c nullrdc.c nullrdc-noframer.c mac.c
CONTIKI_SOURCEFILES += framer-nullmac.c framer-802154.c csma.c contikimac.c phase.c mac-sequence.c