From: scipio Date: Mon, 4 Aug 2008 22:33:32 +0000 (+0000) Subject: Do a platform check. X-Git-Tag: release_tinyos_2_1_0_0~7 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=5cd913bbae1fabab10405928a1c37ff70c193860 Do a platform check. --- diff --git a/apps/tosthreads/capps/TestCollection/Makefile b/apps/tosthreads/capps/TestCollection/Makefile index 47dfa4bb..8e70067f 100644 --- a/apps/tosthreads/capps/TestCollection/Makefile +++ b/apps/tosthreads/capps/TestCollection/Makefile @@ -1,7 +1,5 @@ TOSTHREAD_MAIN=TestCollection.c -PFLAGS += -DTOSTHREAD_MAIN_STACK_SIZE=800 - CFLAGS += -I$(TOSDIR)/lib/tosthreads/sensorboards/universal CFLAGS += -I$(TOSDIR)/lib/tosthreads/lib/net/ @@ -10,4 +8,14 @@ CFLAGS += -I$(TOSDIR)/lib/net/ CFLAGS += -I$(TOSDIR)/lib/tosthreads/lib/net/ctp CFLAGS += -I$(TOSDIR)/lib/net/ctp -I$(TOSDIR)/lib/net/4bitle -include $(MAKERULES) +ifneq ($(filter telosb tmote tinynode iris clean,$(MAKECMDGOALS)),) + include $(MAKERULES) +else +%: + @echo " Sorry, this application only works on platforms with >8kB of RAM (telos, iris)" +cthreads: + @: +dynthreads: + @: +endif +