From 324796cd1a4a4e19a3928eff83dbede605f92c5a Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sun, 24 Oct 2010 22:31:17 +0000 Subject: [PATCH] Define the CONTIKI variable, and explicitly set the CONTIKI_TARGET_ variable to 1. (Patch by Robert Quattlebaum.) --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 4f436cc4c..6bb310e8a 100644 --- a/Makefile.include +++ b/Makefile.include @@ -43,7 +43,7 @@ endif LOWERCASE = -abcdefghijklmnopqrstuvwxyz UPPERCASE = _ABCDEFGHIJKLMNOPQRSTUVWXYZ TARGET_UPPERCASE := ${shell echo $(TARGET) | sed 'y!$(LOWERCASE)!$(UPPERCASE)!'} -CFLAGS += -DCONTIKI_TARGET_$(TARGET_UPPERCASE) +CFLAGS += -DCONTIKI=1 -DCONTIKI_TARGET_$(TARGET_UPPERCASE)=1 include $(CONTIKI)/core/net/rime/Makefile.rime include $(CONTIKI)/core/net/mac/Makefile.mac