]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/threads.extra
Add tosthreads support for Epic platform
[tinyos-2.x.git] / support / make / threads.extra
index 17adba170ea7342e7e39a0c9c8b0ea47a691f783..b39a734fa9889104abb236e10ecd43c12975cd7a 100644 (file)
@@ -77,6 +77,9 @@ THREADS_EYES_INCLUDE_DIRS = -I$(TOS_THREADS_DIR)/platforms/eyesIFX
 #Shimmer specific include directories
 THREADS_SHIMMER_INCLUDE_DIRS = -I$(TOS_THREADS_DIR)/platforms/shimmer
 
+#Epic specific include directories
+THREADS_EPIC_INCLUDE_DIRS = -I$(TOS_THREADS_DIR)/platforms/epic
+
 #Add CFLAGS for supported platforms
 ifneq ($(filter telos telosa telosb tmote,$(MAKECMDGOALS)),)
   CFLAGS += $(THREADS_MSP430_INCLUDE_DIRS)
@@ -89,6 +92,11 @@ ifneq ($(filter telos telosa telosb tmote,$(MAKECMDGOALS)),)
     CFLAGS += -DPLATFORM_TELOSB
   endif
 endif
+ifneq ($(filter epic,$(MAKECMDGOALS)),)
+  CFLAGS += $(THREADS_MSP430_INCLUDE_DIRS)
+  CFLAGS += $(THREADS_CC2420_INCLUDE_DIRS)
+  CFLAGS += $(THREADS_EPIC_INCLUDE_DIRS)
+endif
 ifneq ($(filter mica2,$(MAKECMDGOALS)),)
   CFLAGS += $(THREADS_ATM128_INCLUDE_DIRS)
   CFLAGS += $(THREADS_CC1000_INCLUDE_DIRS)