From 37879d515f9597e43ff4286fbe46a693d28860b9 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Sun, 7 Feb 2016 19:04:10 +0100 Subject: [PATCH] pkg ccn-lite: set CCNL_RIOT define in Makefile --- Makefile.dep | 5 +++++ pkg/ccn-lite/ccn-lite-riot.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.dep b/Makefile.dep index bdb81e4c8d..398808c669 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 11ac9d5372..be164bfe1e 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 #include "kernel_types.h" #include "arpa/inet.h"