1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:52:44 +01:00

pkg ccn-lite: set CCNL_RIOT define in Makefile

This commit is contained in:
Oleg Hahm 2016-02-07 19:04:10 +01:00
parent 5db537fbab
commit 37879d515f
2 changed files with 5 additions and 5 deletions

View File

@ -6,6 +6,11 @@ ifneq (,$(filter libcoap,$(USEPKG)))
USEMODULE += gnrc_conn_udp USEMODULE += gnrc_conn_udp
endif endif
ifneq (,$(filter ccn-lite,$(USEPKG)))
export CFLAGS += -DCCNL_RIOT
endif
ifneq (,$(filter nhdp,$(USEMODULE))) ifneq (,$(filter nhdp,$(USEMODULE)))
USEMODULE += conn_udp USEMODULE += conn_udp
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -19,11 +19,6 @@
* @{ * @{
*/ */
/**
* Use RIOT specific configuration in CCN-Lite
*/
#define CCNL_RIOT
#include <unistd.h> #include <unistd.h>
#include "kernel_types.h" #include "kernel_types.h"
#include "arpa/inet.h" #include "arpa/inet.h"