From f1b36046f2252c4d28ce74c3a0a048dbda405485 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 11 Mar 2015 14:34:06 +0100 Subject: [PATCH] Contiki: Make sure that COAP_RESOURCES_NOHASH is defined --- Makefile.libcoap | 2 +- examples/contiki/Makefile.common | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.libcoap b/Makefile.libcoap index bd51e8c1..122e0faa 100644 --- a/Makefile.libcoap +++ b/Makefile.libcoap @@ -4,4 +4,4 @@ libcoap_dir := $(filter %libcoap,$(APPDS)) vpath %c $(libcoap_dir)/src # set include path for coap sources -CFLAGS += -I$(libcoap_dir)/include/coap +CFLAGS += -I$(libcoap_dir)/include/coap -DCOAP_RESOURCES_NOHASH diff --git a/examples/contiki/Makefile.common b/examples/contiki/Makefile.common index 1ab8e716..e8d3fa24 100644 --- a/examples/contiki/Makefile.common +++ b/examples/contiki/Makefile.common @@ -4,7 +4,7 @@ top_srcdir ?= ../.. CFLAGS += -std=gnu99 -CFLAGS += -I$(top_srcdir)/include/coap +CFLAGS += -I$(top_srcdir)/include/coap -DCOAP_RESOURCES_NOHASH vpath %.c $(top_srcdir)/src