diff --git a/Makefile.dep b/Makefile.dep index bdb81e4c8d3458ae07fe22445c9d7f28abd94284..398808c6693333df4c84dd1361a1f5d9ba0728be 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -6,6 +6,11 @@ ifneq (,$(filter libcoap,$(USEPKG))) USEMODULE += gnrc_conn_udp endif +ifneq (,$(filter ccn-lite,$(USEPKG))) + export CFLAGS += -DCCNL_RIOT +endif + + ifneq (,$(filter nhdp,$(USEMODULE))) USEMODULE += conn_udp USEMODULE += xtimer diff --git a/pkg/ccn-lite/ccn-lite-riot.h b/pkg/ccn-lite/ccn-lite-riot.h index 11ac9d53720f64031e6af58c28edf2f8ed7e1e7e..be164bfe1eead8f5461a599eae282fa23e3f5747 100644 --- a/pkg/ccn-lite/ccn-lite-riot.h +++ b/pkg/ccn-lite/ccn-lite-riot.h @@ -19,11 +19,6 @@ * @{ */ -/** - * Use RIOT specific configuration in CCN-Lite - */ -#define CCNL_RIOT - #include <unistd.h> #include "kernel_types.h" #include "arpa/inet.h"