Browse Source

pkg ccn-lite: set CCNL_RIOT define in Makefile

pr/gpio
Oleg Hahm 7 years ago
parent
commit
37879d515f
  1. 5
      Makefile.dep
  2. 5
      pkg/ccn-lite/ccn-lite-riot.h

5
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

5
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"

Loading…
Cancel
Save