X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Fthreads.extra;h=04ed88fef05c6e88182bd2627ee6856a7c1c369c;hb=090f279743c1960d2d551d7a61fac487450af2eb;hp=f81ce07e308917c4d53d68ff5e3a5650f0e89941;hpb=eee4ceae337a70529d31fe884ad81ec2fe6645f3;p=tinyos-2.x.git diff --git a/support/make/threads.extra b/support/make/threads.extra index f81ce07e..04ed88fe 100644 --- a/support/make/threads.extra +++ b/support/make/threads.extra @@ -35,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)