]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - support/make/threads.extra
Update to threads.extra to list out shimmer and eyes platforms in list of supported...
[tinyos-2.x.git] / support / make / threads.extra
index 1c3165344d751d7f9bad4fd3c90a656c231c9bdb..04ed88fef05c6e88182bd2627ee6856a7c1c369c 100644 (file)
@@ -22,6 +22,7 @@ THREADS_MSP430_INCLUDE_DIRS += -I$(THREADS_MSP430_DIR)/adc12
 #Atm128 specific include directories on tested platforms
 THREADS_ATM128_DIR = $(TOS_THREADS_DIR)/chips/atm128
 THREADS_ATM128_INCLUDE_DIRS = -I$(THREADS_ATM128_DIR)
+THREADS_ATM128_INCLUDE_DIRS += -I$(THREADS_ATM128_DIR)/adc
 
 #Atm1281 specific include directories on tested platforms
 THREADS_ATM1281_DIR = $(TOS_THREADS_DIR)/chips/atm1281
@@ -34,6 +35,9 @@ THREADS_TELOS_INCLUDE_DIRS = -I$(TOS_THREADS_DIR)/platforms/telosa
 THREADS_MICA2_INCLUDE_DIRS = -I$(TOS_THREADS_DIR)/platforms/mica2/chips/cc1000
 
 #Add CFLAGS for supported platforms
+ifneq ($(filter telos telosa telosb tmote eyesIFX eyesIFXv2 shimmer,$(MAKECMDGOALS)),) 
+  CFLAGS += $(THREADS_MSP430_INCLUDE_DIRS)
+endif
 ifneq ($(filter telos telosa telosb tmote,$(MAKECMDGOALS)),) 
   CFLAGS += $(THREADS_MSP430_INCLUDE_DIRS)
   CFLAGS += $(THREADS_TELOS_INCLUDE_DIRS)