Moved the individual MODULE definitions from the top-level Makefile.include into the individual platforms' Makefiles
This commit is contained in:
parent
0fe08205e1
commit
7a740b382f
@ -58,8 +58,7 @@ UPPERCASE = _ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||
TARGET_UPPERCASE := ${strip ${shell echo $(TARGET) | sed y!$(LOWERCASE)!$(UPPERCASE)!}}
|
||||
CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1
|
||||
|
||||
MODULES += core/sys core/dev core/lib \
|
||||
core/net/ipv6 core/net/ipv4 core/net/rime core/net/mac core/net/mac/contikimac
|
||||
MODULES += core/sys core/dev core/lib core/net/mac
|
||||
|
||||
#include $(CONTIKI)/core/net/rime/Makefile.rime
|
||||
#include $(CONTIKI)/core/net/mac/Makefile.mac
|
||||
|
@ -1,6 +1,3 @@
|
||||
|
||||
MODULES += core/net/ipv6 core/net/mac/sicslowmac
|
||||
|
||||
CONTIKI_TARGET_DIRS = . apps net loader
|
||||
|
||||
CONTIKI_CORE=contiki-raven-main
|
||||
@ -37,3 +34,5 @@ AVRDUDE_MCU=m1284p
|
||||
|
||||
include $(CONTIKIAVR)/Makefile.avr
|
||||
include $(CONTIKIAVR)/radio/Makefile.radio
|
||||
|
||||
MODULES += core/net/ipv6 core/net/ipv4 core/net/mac core/net core/net/rime core/net/mac/sicslowmac
|
||||
|
@ -1,4 +1,3 @@
|
||||
MODULES += core/net/ipv6 core/net/mac/sicslowmac
|
||||
|
||||
CONTIKI_TARGET_DIRS = . apps net loader dev/usb dev/serial
|
||||
CONTIKI_CORE=contiki-raven-main
|
||||
@ -41,7 +40,8 @@ CONTIKIBOARD=.
|
||||
CONTIKI_PLAT_DEFS = -DF_CPU=8000000UL -DAVRGCC -DAUTO_CRC_PADDING=2 -DJACKDAW=1
|
||||
|
||||
#The no-net build using fakeuip.c is always ipv6
|
||||
ifdef CONTIKI_NO_NET
|
||||
CFLAGS += -I$(CONTIKI)/core/net/ipv6 -I$(CONTIKI)/core/net/ip -I$(CONTIKI)/core/net/ipv4
|
||||
ifdef CONTIKI_NO_NET
|
||||
CONTIKI_PLAT_DEFS+= -DUIP_CONF_IPV6=1
|
||||
endif
|
||||
|
||||
@ -66,3 +66,6 @@ AVRDUDE_OPTIONS=-V
|
||||
include $(CONTIKIAVR)/Makefile.avr
|
||||
include $(CONTIKIAVR)/radio/Makefile.radio
|
||||
|
||||
|
||||
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 \
|
||||
core/net/rime core/net/mac core/net/mac/sicslowmac
|
||||
|
@ -374,6 +374,7 @@ typedef unsigned short uip_stats_t;
|
||||
//#pragma mark RPL Settings
|
||||
/* ************************************************************************** */
|
||||
|
||||
#define UIP_CONF_IPV6_RPL 0
|
||||
#if UIP_CONF_IPV6_RPL
|
||||
|
||||
/* Not completely working yet. Works on Ubuntu after $ifconfig usb0 -arp to drop the neighbor solitications */
|
||||
|
@ -25,3 +25,5 @@ endif
|
||||
### Define the CPU directory
|
||||
CONTIKI_CPU=$(CONTIKI)/cpu/cc2538
|
||||
include $(CONTIKI_CPU)/Makefile.cc2538
|
||||
|
||||
MODULES += core/net/ipv6 core/net/mac core/net/rime core/net/mac/contikimac
|
||||
|
@ -20,3 +20,4 @@ endif
|
||||
|
||||
include $(CONTIKIMC1322X)/Makefile.mc1322x
|
||||
|
||||
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 core/net/rime core/net/mac
|
||||
|
@ -20,3 +20,5 @@ SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-linux
|
||||
ifeq ($(HOST_OS),Windows)
|
||||
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-windows
|
||||
endif
|
||||
|
||||
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 core/net/rime core/net/mac core/nnet/mac/contikimac
|
||||
|
@ -45,4 +45,4 @@ ifneq ($(strip $(HAVE_PRGBOARD_FILE)), )
|
||||
include $(PRGBOARD_FILE)
|
||||
endif
|
||||
|
||||
MODULES += core/net/ipv6 core/net/rime core/net/mac/cxmac dev/cc2420
|
||||
MODULES += core/net/ipv6 core/net/ipv4 core/net/rime core/net/mac/cxmac dev/cc2420
|
||||
|
@ -28,3 +28,5 @@ endif
|
||||
### Define the CPU directory
|
||||
CONTIKI_CPU=$(CONTIKI)/cpu/native
|
||||
include $(CONTIKI)/cpu/native/Makefile.native
|
||||
|
||||
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 core/net/rime
|
||||
|
@ -46,4 +46,4 @@ CURSES_LIBS ?= -lncurses
|
||||
|
||||
TARGET_LIBFILES += $(CURSES_LIBS)
|
||||
|
||||
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6
|
||||
MODULES+=core/net/ip core/net/ipv4 core/net core/net/ipv6 core/net/rime
|
||||
|
Loading…
Reference in New Issue
Block a user