2015-09-21 16:53:35 +00:00
|
|
|
CONTIKI_PROJECT = node
|
|
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
|
|
|
|
CONTIKI=../../..
|
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
|
|
|
CONTIKI_WITH_IPV6 = 1
|
|
|
|
MAKE_WITH_ORCHESTRA ?= 0 # force Orchestra from command line
|
|
|
|
MAKE_WITH_SECURITY ?= 0 # force Security from command line
|
2017-07-07 16:05:27 +00:00
|
|
|
MAKE_WITH_PERIODIC_ROUTES_PRINT ?= 0 # print #routes periodically, used for regression tests
|
2015-09-21 16:53:35 +00:00
|
|
|
|
2017-09-01 13:38:30 +00:00
|
|
|
APPS += orchestra
|
|
|
|
MODULES += os/net/mac/tsch os/services/shell
|
2015-09-21 16:53:35 +00:00
|
|
|
|
|
|
|
ifeq ($(MAKE_WITH_ORCHESTRA),1)
|
|
|
|
CFLAGS += -DWITH_ORCHESTRA=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(MAKE_WITH_SECURITY),1)
|
|
|
|
CFLAGS += -DWITH_SECURITY=1
|
|
|
|
endif
|
|
|
|
|
2017-07-07 16:05:27 +00:00
|
|
|
ifeq ($(MAKE_WITH_PERIODIC_ROUTES_PRINT),1)
|
|
|
|
CFLAGS += -DWITH_PERIODIC_ROUTES_PRINT=1
|
|
|
|
endif
|
|
|
|
|
2015-09-21 16:53:35 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|