X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Fthreads.extra;h=17adba170ea7342e7e39a0c9c8b0ea47a691f783;hb=840d86fce44ded21daf824bf00c083874a1d9519;hp=50e21d3e95be35dde2edc0671a24ddb1d9b07a6d;hpb=62e420fb26b52b4654f0b3888b395564665e4113;p=tinyos-2.x.git diff --git a/support/make/threads.extra b/support/make/threads.extra index 50e21d3e..17adba17 100644 --- a/support/make/threads.extra +++ b/support/make/threads.extra @@ -82,6 +82,12 @@ ifneq ($(filter telos telosa telosb tmote,$(MAKECMDGOALS)),) CFLAGS += $(THREADS_MSP430_INCLUDE_DIRS) CFLAGS += $(THREADS_CC2420_INCLUDE_DIRS) CFLAGS += $(THREADS_TELOS_INCLUDE_DIRS) + + #Since Telosb has some sensors not on other platforms, this helps us figure out + #what components should be included + ifneq ($(filter telosb,$(MAKECMDGOALS)),) + CFLAGS += -DPLATFORM_TELOSB + endif endif ifneq ($(filter mica2,$(MAKECMDGOALS)),) CFLAGS += $(THREADS_ATM128_INCLUDE_DIRS) @@ -120,4 +126,3 @@ ifneq ($(filter shimmer,$(MAKECMDGOALS)),) CFLAGS += $(THREADS_CC2420_INCLUDE_DIRS) CFLAGS += $(THREADS_SHIMMER_INCLUDE_DIRS) endif -