Added makefiles to make core/net/mac into a separate module
This commit is contained in:
parent
d777ae14e4
commit
b78ab6753c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
2
core/net/mac/Makefile.core-net-mac
Normal file
2
core/net/mac/Makefile.core-net-mac
Normal 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
|
|
@ -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
|
Loading…
Reference in a new issue