Made core/lib into a module

This commit is contained in:
Adam Dunkels 2013-12-02 08:43:38 +01:00
parent 34d46fa533
commit 13f8837422
2 changed files with 6 additions and 4 deletions

View file

@ -58,8 +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
MODULES += \ MODULES += core/sys core/dev core/lib \
core/sys core/dev \
core/net/ipv6 core/net/ipv4 core/net/rime core/net/mac core/net/mac/contikimac core/net/ipv6 core/net/ipv4 core/net/rime core/net/mac core/net/mac/contikimac
#include $(CONTIKI)/core/net/rime/Makefile.rime #include $(CONTIKI)/core/net/rime/Makefile.rime
@ -67,8 +66,8 @@ MODULES += \
#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
#THREADS = mt.c #THREADS = mt.c
LIBS = memb.c mmem.c timer.c list.c etimer.c ctimer.c energest.c rtimer.c stimer.c trickle-timer.c \ #LIBS = memb.c mmem.c timer.c list.c etimer.c ctimer.c energest.c rtimer.c stimer.c trickle-timer.c \
print-stats.c ifft.c crc16.c random.c ringbuf.c settings.c # print-stats.c ifft.c crc16.c random.c ringbuf.c settings.c
#DEV = nullradio.c #DEV = nullradio.c
#include $(CONTIKI)/core/net/Makefile.uip #include $(CONTIKI)/core/net/Makefile.uip

View file

@ -0,0 +1,3 @@
core-lib_src =\
memb.c mmem.c timer.c list.c etimer.c ctimer.c energest.c rtimer.c stimer.c trickle-timer.c \
print-stats.c ifft.c crc16.c random.c ringbuf.c settings.c